I want to do a search of all the users who have taken the same exams as me in a database (MySql).
The structure of the database is id, user_id, exam_id and date
Well, I have done the exams with the id 5,8,9, I want to know how many have done the same as me (For example, other users who have taken the 5,7,9 exams would not count, only users who 5,8,9)
If someone has exams 4, 5, 8 and 9 and I have 4,8,9 it would count because they coincide that we have done the pampering.
It will not matter if other users have more