Question: Consider the following three tables, primary and foreign keys. Table Name Salespeople Attribute Name Employee Number Name Job Title Address Phone Number YearsInPosition Table

Consider the following three tables, primary and foreign keys. Table Name Salespeople 

Consider the following three tables, primary and foreign keys. Table Name Salespeople Attribute Name Employee Number Name Job Title Address Phone Number YearsInPosition Table Name Product Description Attribute Name Product Number ProductName ProductPrice Table Name SalesOrder Attribute Name Sales Order Number Product Number Employee Number SalesOrder Date C. Type Number Character Character Character Character Number Develop the following queries: Type Number Character Number Type Number Number Number Date Assume that you draw up a new sales order for each product sold. a. All the Sales People with more than five years in position. b. All the Products that cost more than $50. Key Type Primary Key Key Type Primary Key Primary Key Foreign Key Foreign Key Key Type e. Total Revenue sold by Sales People less than 3 years in the position. All the Sales Orders sold by Sales People less than 3 years in the position. d. All the Product Names sold by Sales People more than 5 years in the position.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here are the SQL queries for the given requirements a All the Sales People with more than five years ... View full answer

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 Programming Questions!