Procházet zdrojové kódy

Partitioned and unpartitioned versions.

cartershanklin před 12 roky
rodič
revize
246d2f1646
2 změnil soubory, kde provedl 2 přidání a 4 odebrání
  1. 1 2
      sample-queries/query12.sql
  2. 1 2
      sample-queries/query27.sql

+ 1 - 2
sample-queries/query12.sql

@@ -17,8 +17,7 @@ from (select
          join item on (store_sales.ss_item_sk = item.i_item_sk) 
          join date_dim on (store_sales.ss_sold_date_sk = date_dim.d_date_sk)
       where 
-         i_category in ('Sports', 'Shoes', 'Books') and year(d_date) = 2001 and month(d_date) = 10 and
-	 ss_sold_date between '2001-01-01' and '2001-12-31'
+         i_category in ('Sports', 'Shoes', 'Books') and year(d_date) = 2001 and month(d_date) = 10 
       group by 
           i_item_id
          ,i_item_desc 

+ 1 - 2
sample-queries/query27.sql

@@ -15,8 +15,7 @@ select  i_item_id,
        cd_marital_status = 'W' and
        cd_education_status = 'Primary' and
        d_year = 1998 and
-       s_state = 'TN' and
-       ss_sold_date between '1998-01-01' and '1998-12-31'
+       s_state = 'TN'
  group by i_item_id, s_state
  order by i_item_id
          ,s_state