Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . ( 2 Marks ) Create a cross - tab query that displays the total quantity of each product sold byeach store. Here is
Marks Create a crosstab query that displays the total quantity of each product sold byeach store. Here is a sample output.Note: We havent covered how to write SQL code for a crosstab yet, so the visual QueryBuilder will help here.BlackteaChai cornflakescreamcreamketchup maplesyrupmilk litrepepper rolledoatssaltCalgary Number Selkirk NoOneWoodcroft Marks Create a query that creates a new table called Prairies. This new table will containall of the records from the Province table for the following provinces: Albert, Saskatchewan,and Manitoba Marks Create a query that returns the full name of the Province that has made the mostmoney has the highest total amountSold Marks Create a query that returns the names and cities of each store that has nevermade a sale Marks Create a query that returns the following information in a single column:a The names of all products that cost $ or lessb. The names of all categories that have a description containing a comma.Note: To solve this, you will need to use SQL to perform a UNION.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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