Loading exercise…
Loading exercise…
Exercises are built for a keyboard. Read the task here, then open this page on a laptop to solve it.
ORDER BY and LIMIT. ORDER BY sorts the rows. It sorts smallest first unless you add DESC (descending). LIMIT 3 then keeps only the first 3 rows.
select customer_name, signup_date from customers order by signup_date desc limit 5
Your manager asked the AI assistant for the 3 most expensive products. The prices in its answer look suspiciously low.
AI assistant: “Here are the 3 most expensive products, sorted by price.”
Run the AI query, see what it returns, then fix it so it lists the 3 most expensive products, highest price first.
Loading the Brightline dataset…
Language