exclude retail from pricing upload
This commit is contained in:
parent
e0d32cf4cf
commit
b4e592bbf1
@ -572,6 +572,7 @@ WHERE
|
|||||||
AND a.account = o.billto_group
|
AND a.account = o.billto_group
|
||||||
AND a.shipgrp = o.shipto_group
|
AND a.shipgrp = o.shipto_group
|
||||||
AND o.order_date >= '2021-06-01'
|
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;
|
--SELECT order_season, order_month, sum(value_usd) from ins group by order_season, order_month;
|
||||||
INSERT INTO rlarp.osm_pool SELECT * FROM ins;
|
INSERT INTO rlarp.osm_pool SELECT * FROM ins;
|
||||||
|
Loading…
Reference in New Issue
Block a user