Describe a time when you used SQL to solve a complex data problem.
For this exercise, use the provided Docker organization, membership, and activity-event tables. Write a query that identifies organizations with at least two active members and two activity events during January 2025.
Output
- One row per qualifying organization
- Columns:
organization_name, active_members, total_events, successful_events, failed_events, failure_rate_pct, and top_event_type
- Include the most frequent event type, breaking ties alphabetically
- Order by failure rate descending, then organization name ascending