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

Martin Schalk
Statistik
Einzel
Jahr
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
2014
3.753
267
42,169
41,625
3
0
0
2015
10.404
758
41,177
47,318
15
3
0
2016
54.802
3.502
46,946
53,246
63
12
1
2017
25.313
1.712
44,357
49,767
19
4
0
2018
42.794
2.702
47,514
54,566
55
6
1
2019
28.201
1.744
48,511
52,446
30
6
1
Gesamt:
165.267
10.685
46,402
52,271
185
31
3
 
Doppel
Jahr
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
2014
1.312
96
41,000
3
0
0
2015
4.883
363
40,355
3
0
0
2016
15.614
1.080
43,372
14
4
0
2017
12.880
879
43,959
15
2
0
2018
13.296
851
46,872
24
0
0
2019
9.076
549
49,596
14
0
0
Gesamt:
57.061
3.818
44,836
73
6
0