2 months ago
14 lines308 B
-- The five most expensive products | |
SELECT name, price | |
FROM products | |
ORDER BY price DESC | |
LIMIT 5; | |
| |
-- Newest customers first, ties broken by name | |
SELECT name, signed_up | |
FROM customers | |
ORDER BY signed_up DESC, name; | |
| |
-- This is the version we use in the video. | |
| |
-- See the lesson README for what to try next. |