CREATE TABLE table_name_22 (year_joined INT, year_left INT)

Of all the schools that left before 2003, what is the average year joined?
SELECT AVG(year_joined) FROM table_name_22 WHERE year_left < 2003
SELECT AVG("year_joined") FROM "table_name_22" WHERE "year_left" < 2003