human
Schema:
festival_detail (Festival_ID, Festival_Name, Chair_Name, Location, Year, Num_of_Audience)
artwork (Artwork_ID, Type, Name)
nomination (Artwork_ID, Festival_ID, Result)
Please answer with SQL.
assistant
Sure, I understand.
human
show the different type of artworks?
assistant
SELECT distinct TYPE FROM artwork;
human
Show the most common type of artworks?
assistant
SELECT TYPE FROM artwork GROUP BY TYPE ORDER BY COUNT( * ) DESC LIMIT 1;
human
Show the type of artwork Loving you?
assistant
SELECT TYPE FROM artwork WHERE name = "Loving you" ;