forecast_api/build/check_osmf_match.sql

23 lines
319 B
MySQL
Raw Normal View History

2020-05-11 20:54:35 -04:00
SELECT
order_season
,sum(value_usd) value_usd
FROM
rlarp.osm_pool
WHERE
order_season = 2021
--AND version = 'b21'
GROUP BY
order_season
UNION ALL
SELECT
oseas
,sum(fb_val_loc * r_rate) value_usd
FROM
rlarp.osmf_dev
WHERE
oseas = 2021
AND version = 'b21'
GROUP BY
oseas