SELECT SUM(ranked.score) AS scores, SUM(ranked.darts) AS darts, ranked.year, heim, gast, id, mdate FROM (SELECT ls.score, ls.darts as darts, YEAR(`lg`.`mdate`) as YEAR, lg.heim, lg.gast, lg.id, lg.mdate ,@leground := IF(@tmpleg = leg, @leground + 1, 1) AS leground, @tmpleg := leg FROM #__livescore_score ls INNER JOIN #__livescore_games lg ON ls.game = lg.id INNER JOIN #__livescore_modus lm ON lg.rrmodus = lm.id INNER JOIN #__livescore_roundrobin lrr ON lm.id = lrr.modus AND lrr.ordering = ls.spiel WHERE ls.pass = 130 AND ls.darts>0 AND lrr.round = 'E' AND lg.finish = 1 AND Year(lg.mdate)=2019 ORDER BY ls.game, ls.spiel, ls.leg, ls.id) ranked WHERE ranked.leground <= 3 GROUP BY ranked.year, ranked.mdate ORDER BY ranked.mdate
LiveScoring

Carlo Schmidt
Statistik 2019
Einzel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
Starbulls - Pirates of Darts
1.503
78
57,808
65,444
2
0
0
Arrows 1 - Pirates of Darts
773
54
42,944
46,667
1
0
0
Golden Warriors - Pirates of Darts
1.519
93
49,000
41,750
2
0
0
Gesamt:
3.795
225
50,600
50,333
5
0
0
 
Doppel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
Starbulls - Pirates of Darts
596
48
37,250
1
0
0
Arrows 1 - Pirates of Darts
817
48
51,063
2
0
0
Golden Warriors - Pirates of Darts
439
30
43,900
0
0
0
Gesamt:
1.852
126
44,095
3
0
0