Question: write a query to create a new table, Profit_Table, with variables date, sub_category, country, customer_age, and profit from the sales, product, and location tables where
write a query to create a new table, Profit_Table, with variables date, sub_category, country, customer_age, and profit from the sales, product, and location tables where the year is 2011 and the month is January.
Hint: three tables can be joined in a single create table query by using two INNER JOIN ... ON statements. FROM A
INNER JOIN B ON A = B INNER JOIN C ON A = C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
