Question: Considering the 3 tables below: a . ( 5 pts ) Write a query to retrieve the Order numbers and their respective dates for the

Considering the 3 tables below:
a.(5pts)Write a query to retrieve the Order numbers and their respective
dates for the salesman number 5001.
b.(5pts)Write a query to retrieve how many orders have an amount greater
than 1000$, regardless the salesman
c.(5pts)Write a query to retrieve how many orders were placed in September,
regardless the salesman.
d.(5pts)Use a subquery approach to find all orders attributed to salesmen in
Paris.
e.(5pts)I would like to retrieve the customers with a grade higher than the
average of all customers in New York. Write a query (with a subquery!
f.(5pts)How about if I wanted to retrieve the customers whose grades are
higher than every customer in New York. Write a query with a subquery.
Considering the 3 tables below: a . ( 5 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 Programming Questions!