Chapter 3 · Sorting & Limiting
06. Pending and Processing Orders
Easy10 XPE-Commerce
Customer support needs a list of all orders that are still in progress. Retrieve the order id, customer_id, order_date, and status for orders whose status is either 'pending' or 'processing', sorted by order_date descending.
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.