Question: 1 . ( 2 Marks ) Create a cross - tab query that displays the total quantity of each product sold byeach store. Here is

1.(2 Marks) Create a cross-tab 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 cross-tab yet, so the visual QueryBuilder will help here.BlackteaChai cornflakescream10%cream18%ketchup maplesyrupmilk 1litrepepper rolledoatssaltCalgary 111111Number 12510141010511110Selkirk No.1(One)11111Woodcroft 10551183202050732.(2 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.3.(2 Marks) Create a query that returns the full name of the Province that has made the mostmoney (has the highest total amountSold).4.(2 Marks) Create a query that returns the names and cities of each store that has nevermade a sale.5.(2 Marks) Create a query that returns the following information in a single column:a. The names of all products that cost $4 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!