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 AmpostaAmpollaTivenysEl PerellóS.BàrbaraCamarlesBateaDeltebreJesúsL'Aldea Total Punts
1 SANAHUJA BARRANCO, JOSEP RAMON 11511500000000 230 230
2 DURAN PINO, RAFEL 1038500000000 188 188
3 GALARZA SANCHEZ, ALEJANDRO 797500000000 154 154
4 CHIMENO BIEL, RAMON JOSE 010300000000 103 103
5 GARCIA REDONDO, DOMINGO 09300000000 93 93
6 BALAGUE BELTRAN, JOAQUIN 93000000000 93 93
7 TORRES , JORGE 85000000000 85 85
8 FORES BAYO, JOAQUIM 07900000000 79 79
9 JIORDANO , FILIPPO 07300000000 73 73




Amb el suport de: