I need to find records for when two specific people attended an event. I can do this via looping within php but there must be a solution via a select?
EVENT_NO, NAME
--------------
1001, A David
1001, B Elwood
1001, Z Griswold
1002, A David
1002, C Johnson
1002, D Smith
1003, A David
1003, C Johnson
1003, Z Griswold
What I want to extract are the records where A David and Z Griswold both attended the same event:
1001, A David
1001, Z Griswold
1003, A David
1003, Z Griswold