add last change
This commit is contained in:
parent
7008f57f66
commit
f71fee5df6
@ -33,6 +33,7 @@ SELECT
|
|||||||
,to_char(sum(sales_adj),'999,999,999') sales_adj
|
,to_char(sum(sales_adj),'999,999,999') sales_adj
|
||||||
,to_char(sum(sales_adj - scogs_adj),'999,999,999') margin_adj
|
,to_char(sum(sales_adj - scogs_adj),'999,999,999') margin_adj
|
||||||
,count(iterdef) "# of changes"
|
,count(iterdef) "# of changes"
|
||||||
|
,(max(iterdef->>'stamp'))::timestamptz "last edit"
|
||||||
FROM
|
FROM
|
||||||
preagg
|
preagg
|
||||||
GROUP BY
|
GROUP BY
|
||||||
|
Loading…
Reference in New Issue
Block a user