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 = 2589 AND ls.darts>0 AND lrr.round = 'E' AND lg.finish = 1 AND Year(lg.mdate)=2017 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

Ersin Karcin
Statistik 2017
Einzel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
DC 1984 Lebfritz - Starbulls 2
2.401
220
32,741
48,333
0
0
0
Starbulls 2 - DC Hotzenplotz 3
1.835
116
47,457
56,333
1
0
0
Starbulls 2 - DC St. Patrick
1.923
164
35,177
46,917
1
0
0
Gesamt:
6.159
500
36,954
50,359
2
0
0
 
Doppel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
DC 1984 Lebfritz - Starbulls 2
1.022
78
39,308
0
0
0
Starbulls 2 - DC Hotzenplotz 3
755
45
50,333
2
0
0
Starbulls 2 - DC St. Patrick
1.245
102
36,618
0
0
0
Starbulls 2 - DC 1984 Lebfritz
754
51
44,353
2
0
0
Gesamt:
3.776
276
41,043
4
0
0