CLASSIFICACIÓ 5K: SUB-23 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="S23 M" GROUP BY dni ORDER BY punts DESC, desempat ASC..
Pos Nom AmpostaAmpollaPerellóCamarlesTortosaJesúsDeltebreL'Aldea Total Punts
1 PEDROL PASCUAL, OSCAR 0930115000115 323 323
2 ABAGHAD, YOUSSEF 0115000000 115 115
3 MAIJÓ FRIGOLA, ÀDAM 0011500000 115 115
4 COLI MUNAR, PERE 1150000000 115 115
5 MIOAGA TRASCA , ROBERT 0000001150 115 115
6 LOMBARTE CAMBERO, JOAN 0000011500 115 115
7 HAMDOUNI, AYOUB 0103000000 103 103
8 CAPTARI, FABIAN ESTEBAN 0010300000 103 103
9 BOIX BERENGUE, ALEIX 0000010300 103 103




Amb el suport de: