Context: CREATE TABLE table_name_7 (year INTEGER, location VARCHAR)
Question: For how many years was the location at Beijing?
Answer: SELECT SUM(year) FROM table_name_7 WHERE location = "beijing"