convert to document

This commit is contained in:
Trowbridge 2019-02-27 14:19:52 -05:00
parent 263f0396da
commit 8c1053c908

View File

@ -1,3 +1,4 @@
WITH rows AS (
SELECT SELECT
---------customer info----------------- ---------customer info-----------------
bill_cust_descr bill_cust_descr
@ -71,4 +72,9 @@ GROUP BY
,request_month ,request_month
,promo ,promo
,version ,version
,iter ,iter
)
SELECT
row_to_json(rows)
FROM
rows