CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)
CREATE TABLE Student_Addresses (monthly_rental INT, address_id VARCHAR)

What are the line 1 and average monthly rentals of all student addresses?
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
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"