What is the average rating of songs for each language?
CREATE TABLE song (languages VARCHAR, rating INTEGER)
SELECT AVG(rating), languages FROM song GROUP BY languages
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE song (languages VARCHAR, rating INTEGER) Question: What is the average rating of songs for each language? [/INST] SELECT AVG(rating), languages FROM song GROUP BY languages </s>