Duplicate Active Subscriptions
Subscription investigation, step 1: find users who have more than one subscription with status = 'active'. Return user_id, one row per user, sorted by user_id.
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 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in