CLASSIFICACIÓ 5K: VETERÀ-2 MASCULÍ

SELECT nom as sujeto, dni as doc, sexe as sex1, categoria as cate, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=221 AND dni=doc ),0) AS una, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=222 AND dni=doc ),0) AS dos, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=223 AND dni=doc ),0) AS tres, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=224 AND dni=doc ),0) AS quatre, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=225 AND dni=doc ),0) AS cinc, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=226 AND dni=doc ),0) AS sis, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=227 AND dni=doc ),0) AS siet, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=228 AND dni=doc ),0) AS vuit, IFNULL((SELECT puntscat FROM historic5 WHERE idcursa=229 AND dni=doc ),0) AS nou, SUM(puntscat) AS punts, SUM(empat) as desempat FROM historic5 WHERE categoria="VE2 M" GROUP BY dni ORDER BY punts DESC, desempat ASC..
Pos Nom CamarlesL'AmpollaL'AldeaAmpostaDeltebre Total Punts
1 GARCIA REDONDO, DOMINGO 1150000 115 115
2 RODRIGUEZ GAS, XIMO 1030000 103 103
3 BERTOMEU BAILE, DAVID 930000 93 93
4 AGRAMUNT NAVARRO, ALVARO 850000 85 85
5 AYET SALES, DAVID 790000 79 79
6 TORRES , JORGE 750000 75 75
7 SEDIKI AIT SILARBI, HAKIM 730000 73 73
8 GALARZA SANCHEZ, ALEJANDRO 710000 71 71




Amb el suport de: