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

bookChallenge: Querying Session Data

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Querying Session Data

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 2
single

single

some-alt