From 37768f3b5db1bb847b9a9a12af07c79036783ec7 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 5 Oct 2023 14:55:32 -0400 Subject: [PATCH] add regions to summary --- sql/segment_summary.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sql/segment_summary.sql b/sql/segment_summary.sql index 0aa3763..a939676 100644 --- a/sql/segment_summary.sql +++ b/sql/segment_summary.sql @@ -32,6 +32,8 @@ SELECT bill_dba ,ship_dba ,dsm + ,director + ,nursery_region ,s.segm ,m.biggroup --,os.priceg @@ -66,6 +68,8 @@ GROUP BY bill_dba ,ship_dba ,dsm + ,director + ,nursery_region ,s.segm ,m.biggroup --,os.priceg @@ -77,6 +81,8 @@ SELECT agg.bill_dba ,agg.ship_dba ,agg.dsm + ,agg.director + ,agg.nursery_region ,agg.segm ,agg.biggroup --,priceg