Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the AdventureWorksDW2012 database, list the customers who have purchased BOTH a touring bike and a hydration pack. (Subquerry in SQL) True or False. The
"Using the AdventureWorksDW2012 database, list the customers who have purchased BOTH a touring bike and a hydration pack." (Subquerry in SQL)
- True or False. The following would be a code solution for the business question posed above:
use AdventureWorksDW2012;
select distinct c.CustomerKey from DimCustomer as c inner join FactInternetSales as fis on c.CustomerKey = fis.CustomerKey inner join DimProduct as p on fis.ProductKey = p.ProductKey where p.ProductSubcategoryKey = 3 and p.ProductSubcategoryKey = 32;
- From the AdventureWorksDW2012 database, determine the number of customers from the Customers table.
- From the AdventureWorksDW2012 database, determine how many customers have made at least one purchase from the Touring Bike subcategory (subcategory 3).
- From the AdventureWorksDW2012 database, determine how many customers have made at least one purchase from the Hydration Pack subcategory (subcategory 32).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started