Two Active Subscriptions
Support is checking billing data: a user may have only one subscription with status = 'active'. Return the user_id values for users with more than one active subscription, 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