Statement
medium
Fix the SQL filter
`orders_above(conn, threshold)` must return only orders with an amount at or
above the threshold, sorted by amount descending.
In `starter.py` the filter is gone: every order is returned. Fix the query.
AI mentor
The AI mentor is available after you log in: it sees your attempt history and does not spend resources on anonymous requests.
Log in and ask
Hints
1 of 3 unlocked · attempts: 0
Hint 1
Compare the number of returned rows with the number of orders above the
threshold. Where should the filter be applied?
Hint 2 — unlocks after 1 attempt
Hint 3 — unlocks after 3 attempts