Hey thanks PHV that's almost perfect!!!
Is it possible to make a slight change to it -
It still shows the duplicate records - but only when all the information is the same.
I really really appreciate your help :D :D
I'm having real trouble with this query, can't seem to get it right.
These are the rules
1. If somebody has played more than once, only the highest score as calculated in one above should be displayed
2. the results should display correct details by total score in descending order
3. In the...
hey thanks for your reply :D
I've taken off DISTINCT (thanks for that, it doesn't effect the results taking it off at all) and removed leaderboard.total from the GROUP BY - but now the information doesn't display correct. i.e. the date, handicap, score, is from different record than the total...
can someone look at the statement for me, it's not giving me distinct names,
SELECT DISTINCT TOP 10 leaderboard.name, Last(leaderboard.date_cr) AS date_cr, Last(leaderboard.handicap) AS handicap, Max(leaderboard.total) AS total, Last(leaderboard.cpsa) AS cpsa, Last(leaderboard.rbss) AS rbss...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.