From 3d215ccaff0e5c333d413610727be1c11a299a2d Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Thu, 16 Jul 2020 20:38:36 -0400 Subject: [PATCH] remover trim --- procedures.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/procedures.sql b/procedures.sql index b54ef73..e4958c5 100644 --- a/procedures.sql +++ b/procedures.sql @@ -11,11 +11,11 @@ IS P2.NOMBRE, SUM( CASE - WHEN TRIM(LOWER(M.DESCRIPCION)) = 'oro' THEN + WHEN LOWER(M.DESCRIPCION) = 'oro' THEN 3 - WHEN TRIM(LOWER(M.DESCRIPCION)) = 'plata' THEN + WHEN LOWER(M.DESCRIPCION) = 'plata' THEN 2 - WHEN TRIM(LOWER(M.DESCRIPCION)) = 'bronce' THEN + WHEN LOWER(M.DESCRIPCION) = 'bronce' THEN 1 ELSE 0