Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Querying Session Data | Sessionized Data Fundamentals
SQL for Product Analysts

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.
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  2
single

single

Challenge: Querying Session Data

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

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.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt