Table: thai_econ_data
Columns: economy
1980
gap_from_thailand_as_of_1980_times
1985
1990
1995
2000
2005
2010
2012
gap_from_thailand_as_of_2012_times
gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions
gdp_per_capita_as_of_2012_ppp

Question: What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
SQL: SELECT "1985" FROM thai_econ_data 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 thai_econ_data WHERE "economy" = 'China'

Question: What is the maximum 2010 value for China?
SQL: SELECT MAX("2010") FROM thai_econ_data 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 thai_econ_data 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 thai_econ_data WHERE "2012" = 23113

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