]>
git.proxmox.com Git - ceph.git/blob - ceph/src/s3select/TPCDS/sample-queries-tpcds/query22.sql
1 -- start query 1 in stream 0 using template query22.tpl and seed 1819994127
6 ,avg(inv_quantity_on_hand
) qoh
10 where inv_date_sk
=d_date_sk
11 and inv_item_sk
=i_item_sk
12 and d_month_seq
between 1186 and 1186 + 11
13 group by rollup(i_product_name
17 order by qoh
, i_product_name
, i_brand
, i_class
, i_category
20 -- end query 1 in stream 0 using template query22.tpl