Most Popular Plan Type for the Top Event Type

Given:

  • events(event_id, block_id, user_id, event_type, platform)
  • users(id, subscription_id, country, created_at)
  • subscription(id, user_id, plan_type)

Each user may have multiple subscrip...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: