The Three Largest Receipts
The Three Largest Receipts
QUERY reminds you: LIMIT shrinks the output, not the bill — you pay for the columns read. Output the three most expensive purchases: only event_id, city and revenue, ordered by revenue descending.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables. Your answer must use the same column names as this sample — alias them with AS if needed.
| event_id | city | revenue |
|---|---|---|
| 7 | Miausino | 4300 |
| 12 | Khvostov | 2150 |
| 3 | Murmansk | 1290 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid