001Level 1

Chapter 3 · Sorting & Limiting

02. Ten Most Recent Orders

Easy10 XPE-Commerce

The operations dashboard needs to show the ten most recent orders. Return the order id, customer_id, order_date, and total_amount, sorted with the newest orders first.

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.

Peek at the solution?

You can still earn the XP afterwards by submitting a working query — but you'll learn more if you give it one more try.