Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following three tables, primary and foreign keys Table Name SalesPeople Attribute Name EmployeeNumber Name JobTitle Address PhoneNumber YearslnPosition Type Key Type Primary Key
Consider the following three tables, primary and foreign keys Table Name SalesPeople Attribute Name EmployeeNumber Name JobTitle Address PhoneNumber YearslnPosition Type Key Type Primary Key Number Character Character Character Character Number Table Name ProductDescription Attribute Name Type Key Type Primary Key ProductNumber ProductName ProductPrice Number Character Number Table Name SalesOrder Attribute Name Type 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 product sold Develop the following queries: a. All the Sales People with more than five years in position. b. All the Products that cost more than $50. (3 pts) 3 pts) All the Sales Orders sold by Sales People less than 3 years in the position. (3 pts)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started