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

Question #284124

7. Get all the videos that belong to "Action" genre (genre_id = 201) and have more than 1 lakh views.


Note:


• Sort the output in the ascending order of video_id.


Expected Output Format:


video_id


name


genre id



1
Expert's answer
2022-01-14T04:36:33-0500
SELECT vc.id as Video_id ,v.genre_id 
FROM quiz.video_content as vc
group by vc.name,vc.genre_id, vc.id
order by vc.name asc,vc.no_of_views desc  

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