Challenge: Querying Session Data
Compito
Swipe to start coding
Write two SQL queries to find the total number of sessions for each user, and also identify users who have more than three sessions.
- Aggregate the
sessionstable byuser_id. - Count the number of sessions for each user.
- Return the user ID and the total session count for each user.
- Identify and return only those users who have more than three sessions.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 2
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Can you explain this in simpler terms?
What are the next steps I should take?
Can you provide an example?
Fantastico!
Completion tasso migliorato a 4.17
Challenge: Querying Session Data
Scorri per mostrare il menu
Compito
Swipe to start coding
Write two SQL queries to find the total number of sessions for each user, and also identify users who have more than three sessions.
- Aggregate the
sessionstable byuser_id. - Count the number of sessions for each user.
- Return the user ID and the total session count for each user.
- Identify and return only those users who have more than three sessions.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 2
single