I have a table with three fields. Name, points, and year. It holds the number pf points scored by each player for multiple years. I am trying to return the top scorer for each year. It seems simple, but I can't seem to get it.
select Name, max(points) from tblPoints group by year
is what I want to do. But if I also group by Name then it returns much more than just the single highest scorer. What am I missing? I know this should be simple.
select Name, max(points) from tblPoints group by year
is what I want to do. But if I also group by Name then it returns much more than just the single highest scorer. What am I missing? I know this should be simple.