Skip to content

Commit

Permalink
Update query22a.tpl
Browse files Browse the repository at this point in the history
Comment out invalid group by from CTE.  Seems to exist by mistake.
  • Loading branch information
gregrahn authored Mar 21, 2017
1 parent 9ef085d commit 3a3d823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion query_variants/query22a.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ with results as
and inv_item_sk=i_item_sk
and inv_warehouse_sk = w_warehouse_sk
and d_month_seq between [DMS] and [DMS] + 11
group by i_product_name,i_brand,i_class,i_category),
-- group by i_product_name,i_brand,i_class,i_category
),
results_rollup as
(select i_product_name, i_brand, i_class, i_category,avg(qoh) qoh
from results
Expand Down

0 comments on commit 3a3d823

Please sign in to comment.