Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Querying Session Data | Sessionized Data Fundamentals
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Product Analysts

bookChallenge: 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 sessions table by user_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?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: 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 sessions table by user_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

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

some-alt