Hallo Chris,
eine Möglichkeit wäre
Select sum(Punkte) from games group by Name
Oder so:
select sum(Punkte) from games where Name in (select Name from spieler)
Ich weiss allerdings nicht, ab welcher mySQL-Version das möglich ist.
Grüße
Andreas
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)