Question: Review the data in the provided database and design the queries to do the following. Your queries should be named Query 1 , Query 2
Review the data in the provided database and design the queries to do the following. Your queries should be named Query Query and Query respectively,
List each product that has been sold in Edmonton and the total quantity of that product that has been sold in Edmonton.
Allow the user to enter the name first and last name of an employee and list the name first and last name and birth date of all employees who are older than the person entered.
Create a list of employees FirstName LastName and the store that they work at StoreName Stores with no employees must be included in the result. Employees not attached to a store must also be included. For example, your result would look similar to the table below. Wayne Shelton is not are not shown below. are not shown below.
tableFirstNameLastName,storeNameWayneShelton,EdwinNelson,Number BrooksDowney,Dunn's MarketBridgewater
List each store name, the province it is in and the number of stores that are in that province. For example, your result would look like:
tablestoreNameprovince,Number of Stores in the provinceBorden North,ONCalgaryABDunns Market,SK
Allow the user to enter the name first and last names of an employee and list the name first and last names of all employees who have the same supervisor as the employee entered. The employee entered must be excluded from the list. For example, if you enter Madison McGrath, the following result would be displayed
tableFirstNameLastNameVanessaTerryVictorNavarro
Given the following query design, provide the corresponding SQL statement for the query. Note that this query is based on a datobase not provided different from the one orovided with thic int
or:
M
Glven the following query design, provide the corresponding SQL statement for the query. Note that this query is based on a database not provided different from the one provided with this lab.
Glven the following query design, provide the corresponding SQL statement for the query. Note that this query is based on a databose not provided different from the one provided with this inh
tableField:idTableALAhon,tableFirstWaneAusthorssubject,tutleid,TotatGroup EytableAuthorsGroup ByAvithors,BookAuthors,tableSortShowrAscending,,Where,Count,tableShoweCriteria:orAction',,
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
