Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Based on the total number of views, you are asked to choose the least popular video. Take into account that a user may see a

Based on the total number of views, you are asked to choose the least popular video. Take into account that a user may see a movie more than once, but only one count per unique user view will be counted. In the event of a tie provide all the video ids of the least popular video(s).
Tables Schema as Below:
videos_watched
columnName dataType
user_id VARCHAR(10)
video_id VARCHAR(10)
watched_at DATETIME

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

For s Answered: 1 week ago

Answered: 1 week ago