AnalystPath

Seven-day activation by channel

SQLHardSenior level~15 min

Problem

For March 2024 signups, calculate each channel activation rate. Activated means the user created their first project within seven days of signup.

Tables

Example rows — the live problem includes the full dataset.

signups
user_idsignup_datechannel
12024-03-01search
32024-03-05paid
52024-03-10referral
events
event_iduser_idevent_dateevent_name
112024-03-03first_project_created
332024-03-06first_project_created
882024-03-26dashboard_view

Expected output

Your answer should return 3 rows with the columns channel, signups, activated_users, activation_rate.

Starter code (SQL)

SELECT *
FROM signups;

Solve this SQL question free

Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related SQL questions