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

bookChallenge: Churn Detection

Tâche

Swipe to start coding

Your goal is to identify users who may have churned by checking their recent login activity.

  • Write a SQL query that returns the user IDs of all users who have not logged in within the last 30 days.
  • Use the tables 'users' and 'logins' provided in the database.
  • The result should be a single column named user_id containing the IDs of these churned users.
  • Only include users who have not logged in at all in the last 30 days, or who have never logged in.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Churn Detection

Glissez pour afficher le menu

Tâche

Swipe to start coding

Your goal is to identify users who may have churned by checking their recent login activity.

  • Write a SQL query that returns the user IDs of all users who have not logged in within the last 30 days.
  • Use the tables 'users' and 'logins' provided in the database.
  • The result should be a single column named user_id containing the IDs of these churned users.
  • Only include users who have not logged in at all in the last 30 days, or who have never logged in.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
single

single

some-alt