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

Martin Schalk
Statistik 2009
Einzel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
First 9 Average
100+
140+
180
DC 1984 Lebfritz - Made of Steel
1.418
126
33,762
49,889
1
0
0
DC 1984 Lebfritz - TSV Ginnheim
1.521
117
39,000
41,167
0
0
0
DC 1984 Lebfritz - Rhein-Main Neu Isenburg
1.347
87
46,448
49,556
2
0
0
DC 1984 Lebfritz - DV Wirtheim 1
1.151
81
42,630
46,556
0
0
0
DC 1984 Lebfritz - DC Logo
1.566
118
39,814
42,083
0
0
0
Gesamt:
7.003
529
39,715
45,353
3
0
0
 
Doppel
Paarung
Gesamtscore
Gesamtdarts
3-Dart Average
100+
140+
180
DC 1984 Lebfritz - Unicorn Hessen 2
493
39
37,923
1
0
0
DC 1984 Lebfritz - DC Bruchköbel 2
805
63
38,333
0
0
0
DC 1984 Lebfritz - Rhein-Main Neu Isenburg
755
64
35,391
0
0
0
DC 1984 Lebfritz - DV Wirtheim 1
440
27
48,889
1
0
0
DC 1984 Lebfritz - DC Logo
1.330
102
39,118
4
0
0
Gesamt:
3.823
295
38,878
6
0
0