Hallo,
wie ist es möglich bei einer Group by Klause abfrage, eine normale Abfrage einzubinden?
Hier mal meine MYSQL Abfrage:
SELECT SUM( globalScore ) AS summe_globalScore, SUM( kubradamWins ) AS summe_kubradamWins
FROM stat_playerAtt
NATURAL JOIN stat_Maps
Da möchte ich jetzt noch gerne diese Normale Abfrage mit einbinden
SELECT goldStar, nick FROM stat_playerAwardMedals, stat_playerAtt WHERE stat_playerAwardMedals.pid = stat_playerAtt.pid ORDER BY goldstar DESC
Hat da vieleicht jemand eine Idee?
Gibt es bei Group by klause auch eine Möglichkeit, das er nicht mit der Abfrage macht? Also er macht ja mit zb. SUM( globalScore ). Da rechnet er ja alles zusammen. Und ich bräuchte eine funktion wo er nichts macht. Also
Ohne Fuktion( globalScore )
Schwer zuerklären :D
Ich möchte einfach eine Normale Abfrage da mit einbinden.
Ich hoffe jemand hat eine Idee.
Vielen Dank
mfg Blackwane