this is my problem
book student_id
1 1
2 2
3 3
1 2
in this case i want book 1 since it is common to the combination of student 1 and 2(the number of students to match may change)
how can in get the book that is common to two or more students based on the combination.is there any way to make these values act like temporary columns