Database: music_4

Question: What are the maximum and minimum week on top of all volumes?
SQL: SELECT max(Weeks_on_Top) ,  min(Weeks_on_Top) FROM volume

Question: Please show the date of ceremony of the volumes that last more than 2 weeks on top.
SQL: SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2

Question: Please show the songs that have result "nominated" at music festivals.
SQL: SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  "Nominated"

Question: What are the issue dates of volumes associated with the artist "Gorgoroth"?
SQL: SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  "Gorgoroth"

Question: What are the songs in volumes associated with the artist aged 32 or older?
SQL: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32

Question: What is the average weeks on top of volumes associated with the artist aged 25 or younger?
SQL: SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25

Question: What are the famous title of the artists associated with volumes with more than 2 weeks on top?
SQL: SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2

Question: What is the famous release date of the artist with the oldest age?
SQL: SELECT Famous_Release_date FROM artist ORDER BY Age DESC LIMIT 1

Question: What is the most common result of the music festival?
SQL: SELECT RESULT FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1

Question: Please show the categories of the music festivals with count more than 1.
SQL: SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*)  >  1

Question: What is the song in the volume with the maximum weeks on top?
SQL: SELECT Song FROM volume ORDER BY Weeks_on_Top DESC LIMIT 1

Question: Find the famous titles of artists that do not have any volume.
SQL: SELECT Famous_Title FROM artist WHERE Artist_ID NOT IN(SELECT Artist_ID FROM volume)

Question: Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top.
SQL: SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  >  2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T2.Weeks_on_Top  <  2

Question: What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?
SQL: SELECT Date_of_ceremony FROM music_festival WHERE Category  =  "Best Song" AND RESULT  =  "Awarded"

Question: What is the issue date of the volume with the minimum weeks on top?
SQL: SELECT Issue_Date FROM volume ORDER BY Weeks_on_Top ASC LIMIT 1