Using Sql Show Breakdown State Number Stores B List Top 5 Shoppers Spent Martin Luther Ki Q37038501

Date_Dimension... Date Key Time_Dimensi... Time_Key Time_Description AM PM Date Description Day OF_Week Day Description Weekd

Figure 1: Star Schema for Sams Club (ignore the other dimensions you may see in the database) Star Schema Table Detail Numbe

Using SQL

a. Show a breakdown, by state, of the number of stores.

b. List the top 5 shoppers who spent the most on Martin LutherKing Jr. Day in 2000. (Hint: Use SELECT TOP 5 …, date columns canbe found in the table date_dimension)

c. How many customers have visited 2 or more stores in year2000?

d. Count the number of

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.