Question: Extract data from the PVFC database corresponding to the following questions. For each question, provide the SQL query and a screenshot of the result set

Extract data from the PVFC database corresponding to the following questions. For each question, provide the SQL query and a screenshot of the result set output from the SQL Server Management Studio.

Retrieve the orders placed by customer with ID 4 or 12, facilitated by salesperson with ID 2 or 6, after March 8, 2018 but before March 12, 2018. Output the order ID, order date, customer ID, and salesperson ID. Sort in ascending order of customer ID, then in ascending order of order date.

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!