Challenge: Querying Session Data
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 2
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.17
Challenge: Querying Session Data
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 2
single