#969

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

Your query result will appear here