Answer to Question #284152 in Databases | SQL | Oracle | MS Access for Lovely

Question #284152

12. Get the top 5 viewed videos that belong to the "GAMING" genre_type.



Note:



• Sort the output in the descending order of no_of_views, and then in the ascending order of video_name.



Expected Output Format



video_name



no_of_views

1
Expert's answer
2022-01-10T13:54:47-0500
SELECT vc.name as Video_name,vc.no_of_views
FROM quiz.video_content as vc
group by vc.name,vc.no_of_views order by 
vc.name asc,vc.no_of_views desc limit 0,5

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS