diff --git a/offline/last_price.sql b/offline/last_price.sql index b286466..8379d7a 100644 --- a/offline/last_price.sql +++ b/offline/last_price.sql @@ -572,6 +572,7 @@ WHERE AND a.account = o.billto_group AND a.shipgrp = o.shipto_group AND o.order_date >= '2021-06-01' + AND o.segm <> 'Retail' ) --SELECT order_season, order_month, sum(value_usd) from ins group by order_season, order_month; INSERT INTO rlarp.osm_pool SELECT * FROM ins;