Question: This question has six Parts. Answer Parts ( a ) to ( f ) below: Part ( a ) - checking for established links Go
This question has six Parts. Answer Parts a to f below:
Part a checking for established links
Go to the Relationships screen and connect the tables, enforcing referential integrity to link the tablesHint: This was already done for you and you only need to carefully check if the
relationships have been established between the tables before you perform query tasks
Part b finding the total sales for each customer
Calculate total sales for each customer. Include:
Customer ID and Company Name from the Customer Table and the calculated sale amount from the SaleAmountCalculation query. Name this query as TotalCustomerSales. Hint: First,
you are to use the Salesitems table to find the calculated sale amount and save this query. Second, you are to use this query and the Customer Table to obtain the Total sales for each customer
Part c generate email username for each employee
Generate an email username for each employee using the first letter of the employee's first name and the first five letters of the employer's last name, eg Rod Smith rsmith. Include:
Employee ID Employee FirstName, and EmployeeLastName in the query. Name this query as EmployeeEmailGenerator. Hint: Copy this expressionformula 'EmailUserName:
LeftEmployeesEmployeeFirstName & LeftEmployeesEmployeeLastName to your Builder
Part d finding total sales for each month
Calculate the total sales for each month Hint: watch the video and also go through the given handout
Part e finding customer that has the highest average sales
Determine which customer had the highest average sales amount. Hint: Use the SaleAmountCalculation query in task to help you to process and finally, sort in descending order
Part f finding the commission earned by the employees
Assume the employees earn a commission on sales. Calculate the total commission due to each employee. Use queries to do these calculations. Hint: First query find the total sales for
each employee. Name this query as EmployeeTotalSales. Second query Copy this expressionformula 'Commission: EmployeeTotalSalesSumOfAmt in your Builder
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
