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
how many artist are there in total?
assistant
SELECT COUNT( * ) FROM artist;
human
How about the total number of songs?
assistant
SELECT COUNT( * ) FROM song;
human
Can you list the songs' names?
assistant
SELECT song_name FROM song;
human
Who was the singer for the song My love?
assistant
SELECT artist_name FROM song WHERE song_name = "My love" ;