As part of the operations and analytics team, your task is to write SQL queries to provide insights into order fulfillment, returns, and shipping patterns.
- Objective: Retrieve the total number of orders that contained only one item and were fulfilled from warehouses in the last month.
- Objective: Determine the total number of orders shipped from stores in the 25 days leading up to the New Year.
- Objective: Retrieve the total number of orders shipped from stores in the first 25 days following the New Year.
- Objective: Fetch the total number of orders that originated from New York.
- Objective: Identify the product with the highest sales volume in New York.
- Objective: Find the store that fulfilled the highest number of orders within one day over the last month.
- Objective: Provide a breakdown of returns on a city-by-city basis, including total returns and, if possible, reasons for the returns.
- Objective: Retrieve the count of orders that had exactly one associated return in the past month.