Hello! My problem is the following I have two tables, one table called Notes and another called Students . I need to make a comparison with the child_id in the notes table and the id in the students table to only if the < in table in the students table you can enter the note value in the Notes table. I would like to know how I could do this.