Hi,
I have a simple table to keep track of marathon runners and their time in the events that they run in. The table has 3 fields: Runner's name, EventID, Run Time.
So, for example,
My question is how do I write a query to pull the name of the runners that participated in say, events 1, 2, 3 and 4? In the example above, the answer would be B and C since they are the only 2 that ran in all four events.
I'd appreciate help with writing this query. Thank you!
Regards,
M
I have a simple table to keep track of marathon runners and their time in the events that they run in. The table has 3 fields: Runner's name, EventID, Run Time.
So, for example,
Code:
Name EventId Time
A 1 2:15
B 1 2:11
C 1 2:12
....
B 2 2:09
C 2 2:11
D 2 2:15
...
A 3 2:10
B 3 2:10
C 3 2:14
D 3 2:15
...
A 4 2:11
B 4 2:09
C 4 2:16
...
My question is how do I write a query to pull the name of the runners that participated in say, events 1, 2, 3 and 4? In the example above, the answer would be B and C since they are the only 2 that ran in all four events.
I'd appreciate help with writing this query. Thank you!
Regards,
M