From b4e592bbf1517766ab421eaef68ba9383d91bb85 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 10 May 2021 16:53:36 -0400 Subject: [PATCH] exclude retail from pricing upload --- offline/last_price.sql | 1 + 1 file changed, 1 insertion(+) 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;