Task: Text to Code
Input (English): SQL: SELECT Avg ( monthly_rental ) , Avg ( monthly_rental ) FROM Student_Addresses
Feedback: You need to use line 1 in addresses rather than average monthly rental.
Output (English): SELECT T1.line_1 ,  avg(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id  =  T2.address_id GROUP BY T2.address_id