Answer to Question #234637 in Databases | SQL | Oracle | MS Access for Suraj

Question #234637

Get the top 10 channels for which more number of users are subscribed in the year 2018.

Note:

In case, if the no_of_subscribers are same, then sort the output in the ascending order of channel_name.

Expected Output Format:

channel_id channel_name no_of_subscribers



1
Expert's answer
2021-09-08T06:57:33-0400
SELECT DISTINCT channel_id, channel_name, no_of_subscribers
FROM  video WHERE year = "2018" ORDER BY channel_id DESC limit 10;.

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