sync up sample sql with route sql

This commit is contained in:
Trowbridge 2019-03-06 06:34:24 -05:00
parent 5542e4cacc
commit 66cb60a0fa

View File

@ -438,6 +438,7 @@ WHERE
, ins AS ( , ins AS (
INSERT INTO rlarp.osm_fcpool SELECT * FROM final RETURNING * INSERT INTO rlarp.osm_fcpool SELECT * FROM final RETURNING *
) )
,insagg AS (
SELECT SELECT
bill_cust_descr bill_cust_descr
,billto_group ,billto_group
@ -503,4 +504,5 @@ GROUP BY
,promo ,promo
,version ,version
,iter ,iter
)
SELECT json_agg(row_to_json(insagg)) x from insagg