Event Type with the Most Events

Given:

  • events(event_id, block_id, user_id, event_type, platform)

Write a SQL query to count events per event_type and return the event_type(s) with the highest event count (return all ties)....

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: