Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Retention Cohorts | Retention and Churn Analysis
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Product Analysts

bookChallenge: Retention Cohorts

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me an example?

close

bookChallenge: Retention Cohorts

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
single

single

some-alt