commit
17e2a02531
@ -1,4 +1,4 @@
|
||||
SELECT P.ID_PAIS, P.NOMBRE, COUNT(1) AS CANTIDAD_ATLETA
|
||||
SELECT P.ID_PAIS, P.NOMBRE, COUNT(A.ID_ATLETA) AS CANTIDAD_ATLETA
|
||||
FROM COMPETENCIA C
|
||||
LEFT JOIN PARTICIPAR_COMPETENCIA PC ON (C.ID_COMPETENCIA = PC.ID_COMPETENCIA)
|
||||
LEFT JOIN ATLETA A ON A.ID_ATLETA = PC.ID_ATLETA
|
||||
|
Loading…
Reference in New Issue
Block a user