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 = 2463 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

Fabian Orth
Statistik 2017
Einzel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
DC 1984 Lebfritz - Starbulls 2
2.269
220
30,941
45,667
1
0
0
Arrows 5 - DC 1984 Lebfritz
1.503
128
35,227
55,556
0
1
0
DC 1984 Lebfritz - DC Logo
2.463
194
38,088
45,733
4
0
0
DC 1984 Lebfritz - DC Bruchköbel 2
2.427
198
36,773
45,800
3
0
0
DC 1984 Lebfritz 1 - DC 1984 Lebfritz 2
2.455
199
37,010
45,333
1
0
0
Gesamt:
11.117
939
35,518
46,928
9
1
0
 
Doppel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
DC 1984 Lebfritz - Starbulls 2
533
36
44,417
0
0
0
DC 1984 Lebfritz - DC St. Patrick
565
36
47,083
1
0
0
Arrows 5 - DC 1984 Lebfritz
1.155
100
34,650
0
0
0
DC 1984 Lebfritz - DC Hotzenplotz 3
948
59
48,203
2
0
0
DC 1984 Lebfritz - DC Logo
760
81
28,148
0
0
0
DC 1984 Lebfritz - DC Logo
1.418
99
42,970
1
0
0
DC 1984 Lebfritz - DSV Rodgau Arrows 5
670
45
44,667
0
0
0
DC 1984 Lebfritz 1 - DC 1984 Lebfritz 2
499
45
33,267
0
0
0
Gesamt:
6.548
501
39,210
4
0
0