Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Session Duration Insights | Sessionized Data Fundamentals
SQL for Product Analysts

bookChallenge: Session Duration Insights

Opgave

Swipe to start coding

Use the data in the sessions table to find the average session duration, in minutes, for each device_type.

  • Calculate the duration of each session in minutes.
  • Group the sessions by device_type.
  • For each device type, calculate the average session duration in minutes and return it as avg_session_duration_minutes.
  • Your result should have one row per device type, with columns: device_type and avg_session_duration_minutes.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Session Duration Insights

Stryg for at vise menuen

Opgave

Swipe to start coding

Use the data in the sessions table to find the average session duration, in minutes, for each device_type.

  • Calculate the duration of each session in minutes.
  • Group the sessions by device_type.
  • For each device type, calculate the average session duration in minutes and return it as avg_session_duration_minutes.
  • Your result should have one row per device type, with columns: device_type and avg_session_duration_minutes.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
single

single

some-alt