Question: Consider the following three tables, primary and foreign keys Table Name SalesPeople Attribute Name EmployeeNumber Name JobTitle Address PhoneNumber YearslnPosition Key Type Number Character Character


Consider the following three tables, primary and foreign keys Table Name SalesPeople Attribute Name EmployeeNumber Name JobTitle Address PhoneNumber YearslnPosition Key Type Number Character Character Character Character Number Primary Key Table Name PoductDescription Attribute Name Key Type ProductNumber ProductName ProductPrice Number Character Number Primary Key Table NameSalesOrder Attribute Name SalesOrderNumber ProductNumber EmployeeNumber SalesOrderDate Number Number Number Date Key Type Primary Key Foreign Key Foreign Key Assume that you draw up a new sales order for each prod uct sold Develop the following queries:All the Sales People with less than four years in position. (3 pts) All the Product Names sold on April 4th. (3 pts) 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
Get step-by-step solutions from verified subject matter experts
