diff --git a/query_variants/query22a.tpl b/query_variants/query22a.tpl index f558581..4857e62 100644 --- a/query_variants/query22a.tpl +++ b/query_variants/query22a.tpl @@ -45,10 +45,10 @@ with results as from inventory ,date_dim ,item - ,warehouse +-- ,warehouse where inv_date_sk=d_date_sk and inv_item_sk=i_item_sk - and inv_warehouse_sk = w_warehouse_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 ),