Brian Butters
Junior Member
- Local time
- Today, 14:33
- Joined
- Sep 4, 2001
- Messages
- 25
I have a query with 3 fields MemberID,CategoryID, ScoreID whereby a number of members have scored from 1-5 in several different categories. I want to select only those records where the members have the highest score in each category. Where 2 or more members have the high score,I then want to select only one member (say with lowest ID)for each category with the high score. Can anyone help please - I suspect DISTINCT is involved somewhere but can't think how the max score is derived.