From 10c75d7ceb65810c2c7d24d4e6c76d63bfdfac26 Mon Sep 17 00:00:00 2001 From: GID Projects Date: Sat, 27 Jun 2020 17:35:26 -0400 Subject: [PATCH] Correcion vista --- vista.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vista.sql b/vista.sql index 0d0a60f..9a8774e 100644 --- a/vista.sql +++ b/vista.sql @@ -6,5 +6,5 @@ CREATE OR REPLACE VIEW MAX_ATLETA_ATLETISMO_PAIS AS LEFT JOIN ATLETA A ON A.ID_ATLETA = PC.ID_ATLETA INNER JOIN DELEGACION D ON (D.ATLETA = A.ID_ATLETA) INNER JOIN PAIS P ON (P.ID_PAIS = D.PAIS) - WHERE TIPO = (SELECT TD.ID_TIPO FROM TIPOS_DEPORTES TD WHERE (TD.DESCRIPCION = 'ATLETISMO')) + WHERE TIPO = (SELECT TD.ID_TIPO FROM TIPOS_DEPORTES TD WHERE (UPPER(TD.DESCRIPCION) = 'ATLETISMO')) GROUP BY (P.ID_PAIS, P.NOMBRE); \ No newline at end of file