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
Can you show the artist name of f id 2?
assistant
SELECT artist_name FROM files WHERE f_id = '2';
human
Can you show the ids of songs that are available in either mp4 format or have resolution above 720?
assistant
SELECT f_id FROM files WHERE formats = 'mp4' UNION SELECT f_id FROM song WHERE resolution > 720;
human
Can you the artist name of Song Tum robe nirobe?
assistant
SELECT artist_name FROM song WHERE song_name = "Tumi robe nirobe" ;