Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Retention Cohorts | Retention and Churn Analysis
SQL for Product Analysts

bookChallenge: Retention Cohorts

Compito

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.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: Retention Cohorts

Scorri per mostrare il menu

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
single

single

some-alt