Assuming I have the tables student, club, and student_club:
student
club
student_club
student { id name } club { id name } stude
select * from student where id in (select student_id from student_club where club_id = 30) and id in (select student_id from student_club where club_id = 50)