Question: Using the following tables, write the SQL code which shows the total dollar value of transactions for products in the Snack category for each store
Using the following tables, write the SQL code which shows the total dollar value of transactions for products in the "Snack" category for each store in the city of "Jersey City". Include storeid and the total dollar value of transactions in the query.
Hint: when joining three tables, you can write:
SELECT FROM table table table WHERE tablekey tablekey AND tablekey tablekey
or
SELECT FROM table JOIN table ON tablekey tablekey JOIN table ON tablekey tablekey
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
