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

Question #284121

3. Get all the music videos released before the year 2016.


Note:


• You can consider the videos which contain "music" in name as music videos.


. Get the year in the integer format


• Sort the output in the descending order of year, and then in the ascending order of name.


Expected Output Format:


name


no_of_views


year


1
Expert's answer
2022-01-12T05:07:32-0500
SELECT ​DISTINCT music_vid, year
FROM ​ video WHERE year < "2016" ORDER BY year DESC, name ASC

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