CREATE TABLE "team" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);

Question: What is the most recent year that China won a bronze?
SQL: SELECT MAX("year") FROM "team" WHERE "bronze"='china';

Question: What is the oldest year that the location was at Guangzhou?
SQL: SELECT MIN("year") FROM "team" WHERE "location"='guangzhou';

Question: For how many years was the location at Beijing?
SQL: SELECT SUM("year") FROM "team" WHERE "location"='beijing';

Question: What location is previous to 1994?
SQL: SELECT "location" FROM "team" WHERE "year"<1994;