feat: refs #8007 Added country salesByWeek
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
e1c16a498e
commit
8308bad100
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue