diff --git a/SQL/blend.sql b/route_meta/blend.sql similarity index 100% rename from SQL/blend.sql rename to route_meta/blend.sql diff --git a/route_meta/get_pool.sql b/route_meta/get_pool.sql new file mode 100644 index 0000000..2617818 --- /dev/null +++ b/route_meta/get_pool.sql @@ -0,0 +1,74 @@ +SELECT + ---------customer info----------------- + bill_cust_descr + ,billto_group + ,ship_cust_descr + ,shipto_group + ,quota_rep_descr + ,director_descr + ,segm + ,mod_chan + ,mod_chansub + ---------product info------------------ + ,majg_descr + ,ming_descr + ,majs_descr + ,mins_descr + ,brand + ,part_family + ,part_group + ,branding + ,color + ,part_descr + ---------dates------------------------- + ,order_season + ,order_month + ,ship_season + ,ship_month + ,request_season + ,request_month + ,promo + ,version + ,iter + --------values------------------------- + ,sum(value_loc) value_loc + ,sum(value_usd) value_usd + ,sum(cost_loc) cost_loc + ,sum(cost_usd) cost_usd + ,sum(units) units +FROM + rlarp.osm_fcpool +WHERE + quota_rep_descr = '13025 - JAMES REGER' +GROUP BY + ---------customer info----------------- + bill_cust_descr + ,billto_group + ,ship_cust_descr + ,shipto_group + ,quota_rep_descr + ,director_descr + ,segm + ,mod_chan + ,mod_chansub + ---------product info------------------ + ,majg_descr + ,ming_descr + ,majs_descr + ,mins_descr + ,brand + ,part_family + ,part_group + ,branding + ,color + ,part_descr + ---------dates------------------------- + ,order_season + ,order_month + ,ship_season + ,ship_month + ,request_season + ,request_month + ,promo + ,version + ,iter \ No newline at end of file diff --git a/SQL/list_months.sql b/route_meta/list_months.sql similarity index 100% rename from SQL/list_months.sql rename to route_meta/list_months.sql