diff --git a/db/routines/bs/procedures/indicatorsUpdate.sql b/db/routines/bs/procedures/indicatorsUpdate.sql index 7b5cd090d..35c9a822f 100644 --- a/db/routines/bs/procedures/indicatorsUpdate.sql +++ b/db/routines/bs/procedures/indicatorsUpdate.sql @@ -129,7 +129,7 @@ BEGIN SELECT YEAR(s.dated), WEEK(s.dated, 4), c.countryFk, SUM(s.amount) FROM sale s JOIN client c ON c.id = s.clientFk - GROUP BY YEAR(s.dated), WEEK(s.dated, 4), c.countryFk + GROUP BY YEAR(s.dated), WEEK(s.dated, 4), c.countryFk; -- Indicador Ventas semana actual UPDATE indicators i