Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database Systems Given the following relation schemas: CAR = (serialN, model, advertisedPrice) SALES = (salespersonID, serialN, date, salesPrice) SALESPERSONS = (salespersonID, Name, Address) Express the
Database Systems
Given the following relation schemas:
CAR = (serialN, model, advertisedPrice)
SALES = (salespersonID, serialN, date, salesPrice)
SALESPERSONS = (salespersonID, Name, Address)
Express the following by SQL statement
1) List the name and ID of every salesperson who sold at least two cars with salesprice greater than $10000.
2) List all attribute of unsold car with advertisedPrice greater $20000 (i.e all attributes of the table CAR).
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