Skip to main content

TV Show Watch Time

MediumPremium

Disney+ is a streaming platform with multiple shows and millions of subscribers. The company wishes to identify their star customers, people who are using the platform more and more over time.

You are given the table watch_time

viewer_idshow_idyearmonthwatch_hours
11012022150.5
11012022262.7
11012022375.2
11012022482.6
21022022130.0
21022022233.6
21022022342.1
21022022450.9
31032022120.5
31032022225.7
31032022323.0
31032022435.8

Write an SQL query to identify the viewers who have received a month-over-month increase in watch time of at least 3 months. In other words, you're looking for viewers who have consistently increased their watch time for a minimum of 3 consecutive months.

Desired output:

viewer_id
1
2