SELECT SUM(ranked.score) AS scores, SUM(ranked.darts) AS darts, ranked.year FROM (SELECT ls.score, ls.darts as darts, YEAR(`lg`.`mdate`) as YEAR ,@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 = 395 AND ls.darts>0 AND lrr.round = 'E' AND lg.finish = 1 ORDER BY ls.game, ls.spiel, ls.leg, ls.id) ranked WHERE ranked.leground <= 3 GROUP BY ranked.year
LiveScoring

Markus Kremser
Statistik
Einzel
Jahr
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
2008
3.678
150
73,560
85,083
11
1
1
2009
3.748
153
73,490
91,833
10
5
0
2010
4.189
186
67,565
74,074
20
3
0
2011
4.248
171
74,526
84,444
8
4
2
Gesamt:
15.863
660
72,105
83,588
49
13
3
 
Doppel
Jahr
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
2008
2.226
92
72,587
7
2
0
2009
1.805
66
82,045
5
3
0
2010
1.794
81
66,444
2
1
0
2011
1.978
67
88,567
5
2
1
Gesamt:
7.803
306
76,500
19
8
1