Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Retention Cohorts | Retention and Churn Analysis
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Product Analysts

bookChallenge: Retention Cohorts

Завдання

Swipe to start coding

Calculate day 30 retention by finding users who logged in exactly 30 days after their signup date.

  • Write a SQL query that joins the users and logins tables.
  • For each user, check if there is a login on the date that is exactly 30 days after their signup date.
  • Return the following columns:
    • user_id from the users table.
    • signup_date from the users table.
    • login_date from the logins table (should be exactly 30 days after signup).
  • Do not include users who did not log in exactly 30 days after signup.
  • Do not use printing statements or comments in your query.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Retention Cohorts

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Calculate day 30 retention by finding users who logged in exactly 30 days after their signup date.

  • Write a SQL query that joins the users and logins tables.
  • For each user, check if there is a login on the date that is exactly 30 days after their signup date.
  • Return the following columns:
    • user_id from the users table.
    • signup_date from the users table.
    • login_date from the logins table (should be exactly 30 days after signup).
  • Do not include users who did not log in exactly 30 days after signup.
  • Do not use printing statements or comments in your query.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
single

single

some-alt