finish scale by volume dollars

This commit is contained in:
Trowbridge 2019-03-06 09:21:15 -05:00
parent 0dbb92e070
commit 859a8ae8f1

View File

@ -316,8 +316,7 @@ FROM
basemix b basemix b
CROSS JOIN scale s CROSS JOIN scale s
) )
select sum(value_usd), count(*) from final --select sum(value_usd), count(*) from final
/*
, ins AS ( , ins AS (
INSERT INTO rlarp.osm_fcpool SELECT * FROM final RETURNING * INSERT INTO rlarp.osm_fcpool SELECT * FROM final RETURNING *
) )
@ -388,5 +387,4 @@ GROUP BY
,version ,version
,iter ,iter
) )
SELECT json_agg(row_to_json(insagg)) x from insagg SELECT json_agg(row_to_json(insagg)) x from insagg
*/