Post-Fix Subscription Check
Step 5: after the cleanup, check again whether any users still have more than one subscription with status = 'active'. Ideally the result is empty. Return user_id, 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