include change type
This commit is contained in:
parent
62473aee92
commit
d3e1ea47bd
@ -1,7 +1,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
iterdef->>'user' "user",
|
iterdef->>'user' "user",
|
||||||
(iterdef->>'stamp')::timestamptz "stamp",
|
(iterdef->>'stamp')::timestamptz "stamp",
|
||||||
iterdef->>'mesasage' "comment",
|
iterdef->>'type' "type",
|
||||||
round(SUM(fb_val_loc * r_rate)::numeric,2) sales,
|
round(SUM(fb_val_loc * r_rate)::numeric,2) sales,
|
||||||
jsonb_pretty(iterdef) def
|
jsonb_pretty(iterdef) def
|
||||||
FROM
|
FROM
|
||||||
@ -11,7 +11,7 @@ WHERE
|
|||||||
GROUP BY
|
GROUP BY
|
||||||
iterdef->>'user',
|
iterdef->>'user',
|
||||||
iterdef->>'stamp',
|
iterdef->>'stamp',
|
||||||
iterdef->>'message',
|
iterdef->>'type',
|
||||||
iterdef
|
iterdef
|
||||||
ORDER BY
|
ORDER BY
|
||||||
"stamp" DESC
|
"stamp" DESC
|
||||||
|
Loading…
Reference in New Issue
Block a user