human
Schema:
artist (Artist_ID, Artist, Age, Famous_Title, Famous_Release_date)
volume (Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID)
music_festival (ID, Music_Festival, Date_of_ceremony, Category, Volume, Result)
Please answer with SQL.
assistant
Sure, I understand.
human
List the information for all volumes.
assistant
SELECT * FROM volume;
human
Order them by weeks on top from the most to the least.
assistant
SELECT * FROM volume ORDER BY weeks_on_top DESC;
human
What is the maximum weeks on top for a volume?
assistant
SELECT MAX( Weeks_on_Top ) FROM volume ;