About the “Power User Identification via Cross-Module Adoption” SQL Problem
Business Scenario
Product managers identify 'Power Users' as individuals who actively use at least 3 distinct product feature modules and generate at least 10 total interactions.
Expected Output & Criteria
Power users utilizing at least 3 distinct modules and logging >= 10 actions.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE user_activity_stream (
event_id INT PRIMARY KEY,
user_id INT NOT NULL,
module_name VARCHAR(50) NOT NULL
);Target SQL Clauses & Operators
WITHGROUP BYHAVING
Want more CTEs practice?
Explore the full syllabus of 12 exercises, syntax guides, and interview pitfalls.