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)
|
SELECT YEAR(s.dated), WEEK(s.dated, 4), c.countryFk, SUM(s.amount)
|
||||||
FROM sale s
|
FROM sale s
|
||||||
JOIN client c ON c.id = s.clientFk
|
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
|
-- Indicador Ventas semana actual
|
||||||
UPDATE indicators i
|
UPDATE indicators i
|
||||||
|
|
Loading…
Reference in New Issue