Get top 5 genres in the platform with most positive user activity, i.e., the genres with videos having more number of likes.
genre_id genre_type no_of_likes
.... ... ..
SELECT vd.user_id as activeUser
FROM quiz.view_details as vd, quiz.reaction as r
where vd.reaction_type="like" and count(r.id=r.vid)>50
group by vd.user_id asc;
Comments
Leave a comment