U zoekt ouders waar twee specifieke kindrecords bestaan. Gebruik daarvoor de EXISTS-clausule:
SELECT *
FROM parent p
WHERE EXISTS (select * from join_table j where j.parent_id = p.id and j.child_id = 1)
AND EXISTS (select * from join_table j where j.parent_id = p.id and j.child_id = 2);