Chapter 3 · Sorting & Limiting
03. Orders by Status
Easy10 XPE-Commerce
The fulfillment team needs to quickly find all orders that are either 'pending' or 'processing'. Return the order id, customer_id, order_date, and status, ordered by order_date ascending.
Tables
- PKidINT
- FKcustomer_id→ customers.idINT
- order_dateTEXT
- statusTEXT
- total_amountREAL
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.