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
Get step-by-step solutions from verified subject matter experts
