finish scale by volume dollars
This commit is contained in:
parent
0dbb92e070
commit
859a8ae8f1
@ -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
|
||||||
*/
|
|
Loading…
Reference in New Issue
Block a user