CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);

Question: What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
SQL: SELECT "1985" FROM "per_capita_gdp" WHERE "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions"='369.38';

Question: What was the gap from Thailand as of 2012 for China?
SQL: SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "economy"='China';

Question: What is the maximum 2010 value for China?
SQL: SELECT MAX("2010") FROM "per_capita_gdp" WHERE "economy"='China';

Question: What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
SQL: SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='0.29';

Question: How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
SQL: SELECT COUNT("gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions") FROM "per_capita_gdp" WHERE "2012"=23113;

Question: What is the max 2010 value for a 1980 gap value is 2.43?
SQL: SELECT MAX("2010") FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='2.43';