WIP: feat: refs #8007 Added country salesByWeek #3190

Draft
guillermo wants to merge 3 commits from 8007-salesByWeek into dev
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8308bad100 - Show all commits

View File

@ -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