I have a “users” table where I insert email and the name of the
professor. In the questionnaire table I ask the pupil to enter the name
of their teacher. How can I make sure that the teachers, entering with
their email, see only the students of their...