Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Go to the Relationships screen and connect the five tables, enforcing referential integrity. Calculate the total sales for each customer. Include CustomerID and CompanyName from

Go to the Relationships screen and connect the five tables, enforcing referential integrity. Calculate the total sales for each customer. Include CustomerID and CompanyName from the Customer table and the calculated sale amount from the Sale_Amount_ Calculation query. Name the query Total_Customer_Sales. Generate an e-mail user name for each employee using the first letter of the employees first name and the first five letters of the employees last name, e.g., Rod Smith = > rsmith. Include EmployeeID, EmployeeFirstName, and EmployeeLastName in the query. Name the query Employee_Email_Generator. Calculate the total sales for each month. Determine which customer had the highest average sales amount. (Hint: Sort in descending order.) Assume the employees earn a 5 percent commission on sales. Calculate the total commission due to each employee. Use two queries to do these calculations. Required: e. Which customer had the highest average sales amount? What specifically was their average amount? f. Which employee had the highest earned commission? What specifically was their commission amount?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

DATASET YOU WILL BE USING:...

Answered: 1 week ago

Question

What would you do if the bullies were in your classes?

Answered: 1 week ago