I am doing a query based on a swimming event. There are unique event codes, as well as unique swimmer codes, and their placing. I am currently having a problem, as I want to display only swimmers that have TIED in the same event (EG I want to display only the swimmers that tied in the 100m relay).
Is there some syntax which does that?
I was doing something similar to this
SELECT Swimmers, Eventid, Place
FROM Results
WHERE Place=Place
AND Eventid=Eventid
But that includes even swimmers that did not tie.
Any suggestions would be great
Try this,