human
Schema:
genre (g_name, rating, most_popular_in)
artist (artist_name, country, gender, preferred_genre)
files (f_id, artist_name, file_size, duration, formats)
song (song_name, artist_name, country, f_id, genre_is, rating, languages, releasedate, resolution)
Please answer with SQL.
assistant
Sure, I understand.
human
Show all the names of the song.
assistant
SELECT song_name FROM song;
human
How many of them contain the word 'robe'?
assistant
SELECT COUNT( * ) FROM song WHERE song_name LIKE '%robe%';
human
How about the word 'love'?
assistant
SELECT COUNT( * ) FROM song WHERE song_name LIKE '%love%';
human
What are the name and country of origin for the artists of these songs?
assistant
SELECT T1.artist_name , T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.song_name LIKE "%love%" ;