Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Partitioned and unpartitioned versions.

  • Loading branch information...
commit 246d2f164621d29bc4383414d8bc3287a3c183e1 1 parent 84b5cce
Carter Shanklin authored
Showing with 2 additions and 4 deletions.
  1. +1 −2  sample-queries/query12.sql
  2. +1 −2  sample-queries/query27.sql
3  sample-queries/query12.sql
View
@@ -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
3  sample-queries/query27.sql
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.