Seperate Files

This commit is contained in:
2021-10-21 09:48:17 -05:00
parent fed464e87e
commit 5092c10859
4 changed files with 136 additions and 97 deletions

View File

@@ -12,16 +12,13 @@ SELECT
from
(
SELECT
*,
ROW_NUMBER () OVER (
PARTITION BY level2
ORDER BY
SUM(revenue) DESC
) rownum,
SUM(revenue) OVER (PARTITION BY level2) total,
description,
sku,
level2,
level3,
ROUND(SUM(revenue), 2) as rev,
SUM(quantity) as qty,
trend