Challenge: Churn Detection
Compito
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_idcontaining 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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 4.17
Challenge: Churn Detection
Scorri per mostrare il menu
Compito
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_idcontaining 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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single