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 names of all artists.
assistant
SELECT DISTINCT artist FROM artist;
human
How many artists have not released any volumes?
assistant
SELECT COUNT( * ) FROM artist WHERE Artist_ID NOT IN ( SELECT Artist_ID FROM volume );
human
What are their names?
assistant
SELECT artist FROM artist WHERE Artist_ID NOT IN ( SELECT Artist_ID FROM volume ) ;