SQL Practice Logo

SQLPractice Online

Level 3 - IntermediateQuery-Based Questions

Customer First Order and Order Count

Write SQL to show each customer's first_order_date and total_orders.

Schema Context

customers(id, name), orders(id, customer_id, order_date)