From 3a3d82347561d31501690df053b5ccab6c222f62 Mon Sep 17 00:00:00 2001 From: Greg Rahn Date: Tue, 21 Mar 2017 14:03:43 -0700 Subject: [PATCH] Update query22a.tpl Comment out invalid group by from CTE. Seems to exist by mistake. --- query_variants/query22a.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/query_variants/query22a.tpl b/query_variants/query22a.tpl index f868315..f558581 100644 --- a/query_variants/query22a.tpl +++ b/query_variants/query22a.tpl @@ -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