Given a schema of three tables, write the SQL needed to answer a business question.
Use the supplied schema to return customers who placed at least two completed orders during the first quarter of 2025. Calculate their total item revenue from those orders and sort the results by revenue.
Output
- One row per qualifying customer.
- Columns:
customer_name, completed_order_count, and total_revenue.
- Include only completed orders dated from 2025-01-01 through 2025-03-31.
- Sort by
total_revenue descending, then customer_name ascending to break ties.