Users With Multiple Orders
Marketing is looking for users who placed more than 1 order. Ignore guest orders without user_id. Return those users' user_id values in ascending order.
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.
| user_id |
|---|
| 1 |
| 2 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in