Question: SQL Queries Consider the following three tables, primary and foreign keys. Key Type Primary key Table Name SalesPeople Attribute Name Employee Number Name Job Title

SQL Queries

SQL Queries Consider the following three tables,SQL Queries Consider the following three tables,

Consider the following three tables, primary and foreign keys. Key Type Primary key Table Name SalesPeople Attribute Name Employee Number Name Job Title Address Phone Number YearsInPosition Type Number Character Character Character Character Number Table Name ProductDescription Attribute Name Type ProductNumber Number ProductName Character Product Price Number Key Type Primary key Table Name Sales Order Attribute Name SalesOrder Number Product Number Employee Number Sales Order Date Type Number Number Number Date Key Type Primary key Foreign Key Foreign Key Assume that you draw up a new sales order for each product sold. Assume that you draw up a new sales order for each product sold. Develop the following queries: a. All the Sales People with less than four years in position. (3 pts) b. All the Product Names sold on April 4th. (3 pts) C. All the Products sold by Sales People less than 3 years in the position. (3 pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 General Management Questions!