Question: Using SQL to Query the Big E s Electric Database Your computer internship at a local electronics store, Big E ' s Electric, is coming
Using SQL to Query the Big Es Electric Database
Your computer internship at a local electronics store, Big Es Electric, is coming to an end, and management is considering offering you a fulltime position with the company. For this position, management is not only looking for someone who is familiar with Access but also someone who is able to write SQL You have been asked to create some queries in their sales database using only SQL Additionally, you will create a crosstab query that will help view quarterly data by employee.
h Create a SQL query based on tblTransactionDetails that will display the ProductID of those products whose total sales volume has exceeded Name the totaled Quantity field TotalSalesVolume, and then group by ProductID. Save your query as qryHighVolumeProductsinitialLastname.
i Create a SQL query based on tblProducts and tblTransactionDetails that will display all the fields from tblProducts and the TransactionID and Quantity fields from tblTransactionDetails. Use a join to include all products, regardless of whether or not they have been purchased. Sort in ascending order by Brand. Save your query as qryTransactionDetailsinitialLastname.
j Create a SQL query based on tblTransaction and tblEmployees that will display all the fields from tblTransaction and the FirstName and LastName fields from tblEmployees. Use a join to include all employees, regardless if they have sold any products. Sort in ascending order by the employees first name and last name. Save your query as qryEmpTransactioninitialLastname, and then close the query.
kOptional Create a SQL subquery that will list the total sales volume for products sold in the first quarter of Name the totaled Quantity field QuarterVolume. Save the query as qryQtrSalesinitialLastname.
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
