Challenge: Querying Session Data
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Can you explain this in simpler terms?
What are the next steps I should take?
Can you provide an example?
Mahtavaa!
Completion arvosana parantunut arvoon 4.17
Challenge: Querying Session Data
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single