forecast_api/route_meta/scenario_totals.sql

17 lines
320 B
MySQL
Raw Normal View History

2019-02-28 01:48:42 -05:00
SELECT
order_season
,version
,iter
,SUM(units) units
,SUM(value_usd) value_usd
FROM
rlarp.osm_fcpool
WHERE
quota_rep_descr = '90005 - MARK WILKINSON'
AND segm = 'Retail'
AND mod_chan = 'MASS'
AND order_month = 'May'
GROUP BY
order_season
,version
,iter