CREATE TABLE table_38122 ("Year" FLOAT, "Location" CLOB, "Gold" CLOB, "Silver" CLOB, "Bronze" CLOB)

For how many years was the location at Beijing?
SELECT SUM("Year") FROM table_38122 WHERE "Location" = 'beijing'
SELECT SUM("Year") FROM "table_38122" WHERE "Location" = 'beijing'