Task: Text to Code
Input (English): SQL: SELECT T1.rating , Avg ( T2.rating ) FROM genre AS T1 JOIN song AS T2 ON T1.g_name = T2.genre_is GROUP BY T2.languages
Feedback: no need for step 1. remove genre table
Output (English): SELECT avg(rating) ,  languages FROM song GROUP BY languages