#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.

Esempio di output atteso

Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.

user_id
1

Il risultato della tua query apparirà qui