I want to have the name in the first colomn but i get an error. When i Let P.name out, the query works but I can't see the player name.
Right now I have the following query:
SELECT P.Name, P.Playernr, SUM (F.Amount)
FROM FINES F
INNER JOIN PLAYERS P
ON F.Playernr = P.Playernr
GROUP BY P.Playernr
Thanks in advance for help
Onno
GROUP BYclause. example,GROUP BY P.Name, P.Playernr