Question: User table - Movie attributes - movieid - int,title - string,genres - string table - ratings attributes - userid - int, movieid - int,rating float.
User
tableMovie
attributes movieid int,title string,genres string
table ratings
attributes userid int, movieidint,rating float.
table users
attributes userid int, gender char, age int, occupationcode int, zipcode int
Perform the following tasks:
Print the age and total count of ratings given by the userId
List the count of ratings for each distinct userId.
List top movieId and titles with highest rating in the descending order.
Find the top popular genre movies wrt total numbers of ratings received. Sort the genres in the descending order. Print the genre and the count of ratings.
List all movies with genre of movie is Fantasy and Adventure
List movie ids of all movies with rating equal to
Find top highly rated "Comedy" movies with descending order of rating
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
