db_id stringlengths 4 31 | SQL stringlengths 18 1.45k | input_sequence stringlengths 148 11k | question stringlengths 16 325 |
|---|---|---|---|
world_development_indicators | select t2.year from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t1.shortname = 'aruba' and t2.seriescode = 'ag.lnd.frst.k2' | Question: on which years did aruba got a footnote on the series code ag.lnd.frst.k2? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherG... | on which years did aruba got a footnote on the series code ag.lnd.frst.k2? |
world_development_indicators | select t1.shortname from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'data are classified as official aid.' and t2.seriescode = 'dc.dac.ausl.cd' and t2.year like '%2002%' | Question: please list the countries that got the footnote 'data are classified as official aid.' on the series code dc.dac.ausl.cd in 2002. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsRe... | please list the countries that got the footnote 'data are classified as official aid.' on the series code dc.dac.ausl.cd in 2002. |
world_development_indicators | select count(t2.seriescode) from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t1.shortname = 'aruba' and t2.year = 'yr2002' | Question: how many footnotes did aruba got on different series code in the year 2002? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Other... | how many footnotes did aruba got on different series code in the year 2002? |
world_development_indicators | select count(t2.year) from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t1.shortname = 'aruba' and t2.seriescode = 'bx.klt.dinv.cd.wd' | Question: for how many consecutive years did aruba get a footnote on the series code bx.klt.dinv.cd.wd? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, Lend... | for how many consecutive years did aruba get a footnote on the series code bx.klt.dinv.cd.wd? |
world_development_indicators | select avg(t2.value) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.alpha2code = '1a' and t2.indicatorname like 'adolescent fertility rate%' | Question: what is the average adolescent fertility rate of the country whose alpha2code is 1a over the years this indicator was calculated. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsRe... | what is the average adolescent fertility rate of the country whose alpha2code is 1a over the years this indicator was calculated. |
world_development_indicators | select distinct t1.specialnotes from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.value = ( select value from indicators where indicatorname like 'adolescent fertility rate%' order by value desc limit 1 ) | Question: what are the special notes for the country whose average adolescent fertility rate is the highest? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation,... | what are the special notes for the country whose average adolescent fertility rate is the highest? |
world_development_indicators | select countrycode, alpha2code from country where region = 'east asia & pacific' and incomegroup = 'high income: nonoecd' | Question: list the east asia & pacific countries which are under the high income: nonoecd group. please include their alpha code. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYea... | list the east asia & pacific countries which are under the high income: nonoecd group. please include their alpha code. |
world_development_indicators | select longname, alpha2code from country where latesttradedata = 2013 and latestwaterwithdrawaldata = 2013 | Question: in which country's latest trade data and latest water withdrawal data were both updated in the year 2013? give its long name and alpha 2 code. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, Natio... | in which country's latest trade data and latest water withdrawal data were both updated in the year 2013? give its long name and alpha 2 code. |
world_development_indicators | select cast(sum(value) as real) / count(countrycode) from indicators where countryname = 'algeria' and year > 1974 and year < 1981 and indicatorname = 'adjusted net enrolment rate, primary, both sexes (%)' | Question: what is the average value of adjusted net enrolment rate, primary, both sexes (%) indicator in algeria from 1975 to 1980? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceY... | what is the average value of adjusted net enrolment rate, primary, both sexes (%) indicator in algeria from 1975 to 1980? |
world_development_indicators | select indicatorname, aggregationmethod from series where topic = 'economic policy & debt: balance of payments: capital & financial account' | Question: what are the indicator names and aggregation methods when the topic is economic policy & debt: balance of payments: capital & financial account? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, Nat... | what are the indicator names and aggregation methods when the topic is economic policy & debt: balance of payments: capital & financial account? |
world_development_indicators | select seriescode from series where topic = 'environment: emissions' and licensetype = 'restricted' | Question: list down the series codes in which the topic is about environment: emissions and the license type is restricted. please include their alpha code. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, N... | list down the series codes in which the topic is about environment: emissions and the license type is restricted. please include their alpha code. |
world_development_indicators | select count(t2.countrycode) from indicators as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t2.region = 'middle east & north africa' and t1.indicatorname = 'co2 emissions from gaseous fuel consumption (kt)' and t1.year = 1970 and t1.value > 600 | Question: in 1970, how many middle eastern & north african countries whose value for co2 emissions from gaseous fuel consumption (kt) indicator is more than 600? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYe... | in 1970, how many middle eastern & north african countries whose value for co2 emissions from gaseous fuel consumption (kt) indicator is more than 600? |
world_development_indicators | select distinct t1.countrycode, t1.year, t1.value from indicators as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t2.region = 'latin america & caribbean' and t1.indicatorname = 'co2 emissions (kt)' and t1.year > 1965 and t1.year < 1980 order by t1.value desc limit 3 | Question: list down the top 3 latin american & caribbean countries with the highest average value in 'co2 emissions (kt)' indicator since 1965. give their highest value and in what year. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Cod... | list down the top 3 latin american & caribbean countries with the highest average value in 'co2 emissions (kt)' indicator since 1965. give their highest value and in what year. |
world_development_indicators | select t2.description from series as t1 inner join seriesnotes as t2 on t1.seriescode = t2.seriescode where t1.seriescode = 'sp.dyn.to65.ma.zs' and t1.topic = 'health: mortality' and t2.year = 'yr1967' | Question: what is the series note description of the series 'sp.dyn.to65.ma.zs' which covers the topic 'health: mortality' in 1967? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceY... | what is the series note description of the series 'sp.dyn.to65.ma.zs' which covers the topic 'health: mortality' in 1967? |
world_development_indicators | select distinct t1.description from footnotes as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t1.year = 'yr1981' and t2.shortname = 'albania' | Question: please write down the footnote descriptions of albania in 1981. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, Syst... | please write down the footnote descriptions of albania in 1981. |
world_development_indicators | select distinct t1.description from footnotes as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t1.year = 'yr1984' and t2.shortname = 'the bahamas' and t1.seriescode = 'sh.dth.imrt' | Question: enumerate the footnote narratives of the bahamas under the series code sh.dth.imrt in the year 1984. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuatio... | enumerate the footnote narratives of the bahamas under the series code sh.dth.imrt in the year 1984. |
world_development_indicators | select t2.shortname from indicators as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t1.indicatorname = 'net bilateral aid flows from dac donors, sweden (current us$)' and t1.year = 1970 and t1.value = 570000 | Question: what is the short name of the country in which the 'net bilateral aid flows from dac donors, sweden (current us$)' indicator hit the 570,000 value in 1970? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBa... | what is the short name of the country in which the 'net bilateral aid flows from dac donors, sweden (current us$)' indicator hit the 570,000 value in 1970? |
world_development_indicators | select distinct t1.wb2code, t1.lendingcategory from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'data source : human mortality database by university of california, berkeley, and max planck institute for demographic research.' and t1.lendingcategory != '' | Question: list down the world bank code of the countries whose country note has described 'data source : human mortality database by university of california, berkeley, and max planck institute for demographic research.'? please include their lending category. | Tables: Country -> CountryCode, ShortName, TableName, Lon... | list down the world bank code of the countries whose country note has described 'data source : human mortality database by university of california, berkeley, and max planck institute for demographic research.'? please include their lending category. |
world_development_indicators | select t2.topic, t2.seriescode, t2.licensetype from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t1.year = 1961 and t1.countryname = 'haiti' and t1.indicatorname = 'total reserves minus gold (current us$)' and t1.value = 3000000 | Question: what is the topic of the series when the total reserves minus gold (current us$) indicator of haiti hit the value of 3,000,000 in 1961? please include its series code and license type. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup... | what is the topic of the series when the total reserves minus gold (current us$) indicator of haiti hit the value of 3,000,000 in 1961? please include its series code and license type. |
world_development_indicators | select count(t1.countrycode) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.indicatorname = 'adjusted net national income per capita (constant 2005 us$)' and t1.externaldebtreportingstatus = 'preliminary' and t2.value > 1000 | Question: how many countries have reached their adjusted net national income per capita (constant 2005 us$) indicator value to more than 1,000 but have not finished their external debt reporting? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGrou... | how many countries have reached their adjusted net national income per capita (constant 2005 us$) indicator value to more than 1,000 but have not finished their external debt reporting? |
world_development_indicators | select countryname from indicators where year = 1979 and indicatorname = 'fertility rate, total (births per woman)' and value >= 4 and value <= 5 | Question: which countries have a fertility rate between 4 and 5 in 1979? list their names. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, ... | which countries have a fertility rate between 4 and 5 in 1979? list their names. |
world_development_indicators | select tablename, sourceofmostrecentincomeandexpendituredata from country where region = 'south asia' and incomegroup = 'low income' | Question: find the countries in south asia which are in the low-income group. what is the source of their recent income and expenditure data? list it alongside the table name of the countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, ... | find the countries in south asia which are in the low-income group. what is the source of their recent income and expenditure data? list it alongside the table name of the countries. |
world_development_indicators | select distinct t2.source from footnotes as t1 inner join series as t2 on t1.seriescode = t2.seriescode inner join country as t3 on t1.countrycode = t3.countrycode where t3.region = 'latin america & caribbean' and t2.indicatorname = 'children out of school, primary' | Question: what are the sources for the data of children who finished primary school education in latin america & caribbean countries? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenc... | what are the sources for the data of children who finished primary school education in latin america & caribbean countries? |
world_development_indicators | select t2.source from countrynotes as t1 inner join series as t2 on t1.seriescode = t2.seriescode inner join country as t3 on t1.countrycode = t3.countrycode inner join seriesnotes as t4 on t2.seriescode = t4.seriescode where t4.year like '%2002%' and t2.indicatorname = 'net migration' | Question: list the sources for the net migration in south american countries in 2002. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Other... | list the sources for the net migration in south american countries in 2002. |
world_development_indicators | select distinct t3.description from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode inner join countrynotes as t3 on t2.countrycode = t3.countrycode where t1.region = 'north america' and t2.indicatorname = 'out-of-school children of primary school age, both sexes (number)' | Question: what are the sources for the data of children who finished primary school education in north american countries? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaP... | what are the sources for the data of children who finished primary school education in north american countries? |
world_development_indicators | select distinct t1.countrycode, t2.value from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.latesttradedata = 2013 and t2.indicatorname like 'gdp growth (annual %)' and t2.year = 2014 and t2.value > 0 order by t2.value asc | Question: in the countries for which the latest trade data are from 2013, what was the gdp growth in 2014? list them in the ascending order of gdp. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAc... | in the countries for which the latest trade data are from 2013, what was the gdp growth in 2014? list them in the ascending order of gdp. |
world_development_indicators | select distinct t1.countrycode, t3.description from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode inner join countrynotes as t3 on t1.countrycode = t3.countrycode where t2.indicatorname = 'out-of-pocket health expenditure (% of private expenditure on health)' and t2.value > 0 and t2.year ... | Question: which european countries had the highest private expenditure on health in 2005? list the top ten countries in descending order and find the source of the data. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccoun... | which european countries had the highest private expenditure on health in 2005? list the top ten countries in descending order and find the source of the data. |
world_development_indicators | select count(countrycode) from country where region = 'south asia' and incomegroup = 'low income' | Question: how many low income countries are there in south asia? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNatio... | how many low income countries are there in south asia? |
world_development_indicators | select shortname from country where latesttradedata > 2010 | Question: please list the short name of countries which have the latest trade data after 2010. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCatego... | please list the short name of countries which have the latest trade data after 2010. |
world_development_indicators | select cast(sum(case when region = 'sub-saharan africa' then 1 else 0 end) as real) * 100 / count(countrycode) from country where systemoftrade = 'special trade system' | Question: please calculate the percentage of sub-saharan african countries which are in the special trade system. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValua... | please calculate the percentage of sub-saharan african countries which are in the special trade system. |
world_development_indicators | select cast(sum(t2.value) as real) / count(t1.countrycode) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.region = 'europe & central asia' and t2.indicatorname = 'arms imports (sipri trend indicator values)' | Question: please calculate the average of arms imports (sipri trend indicator values) of the european & central asian countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear... | please calculate the average of arms imports (sipri trend indicator values) of the european & central asian countries. |
world_development_indicators | select t1.countrycode from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'upper middle income' and t2.indicatorname = 'co2 emissions (kt)' order by t2.value asc limit 1 | Question: which upper middle income country has the lowest value of co2 emissions (kt)? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Oth... | which upper middle income country has the lowest value of co2 emissions (kt)? |
world_development_indicators | select min(t2.value) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.othergroups = 'hipc' and t2.indicatorname = 'international migrant stock, total' | Question: what is the minimum of international migrant stock, total of heavily indebted poor countries? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, Lend... | what is the minimum of international migrant stock, total of heavily indebted poor countries? |
world_development_indicators | select distinct t2.indicatorname from footnotes as t1 inner join series as t2 on t1.seriescode = t2.seriescode where t1.year = 'yr2000' and t2.topic = 'education: inputs' | Question: please list the indicator names belonging to education: inputs topic in 2000. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Oth... | please list the indicator names belonging to education: inputs topic in 2000. |
world_development_indicators | select count(distinct t2.seriescode) from footnotes as t1 inner join series as t2 on t1.seriescode = t2.seriescode where t1.year in ('yr2001', 'yr2002', 'yr2003') and t2.periodicity = 'annual' and t2.aggregationmethod = 'sum' | Question: how many annual indicators use the sum aggregation method from 2001 to 2003? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Othe... | how many annual indicators use the sum aggregation method from 2001 to 2003? |
world_development_indicators | select t1.seriescode, t2.source from footnotes as t1 inner join series as t2 on t1.seriescode = t2.seriescode where t1.year like '%2005%' and t2.source like 'international monetary fund%' | Question: in 2005, which series codes use the international monetary fund, balance of payments statistics yearbook and data files source? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsRefe... | in 2005, which series codes use the international monetary fund, balance of payments statistics yearbook and data files source? |
world_development_indicators | select cast(sum(case when t2.value > 50 then 1 else 0 end) as real) * 100 / count(t1.countrycode) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.region = 'south asia' and t2.indicatorname = 'life expectancy at birth, female (years)' | Question: what percentage of countries in south asia have the life expectancy at birth, female (years) greater than 50? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPric... | what percentage of countries in south asia have the life expectancy at birth, female (years) greater than 50? |
world_development_indicators | select countryname from indicators where year between 1960 and 1965 and indicatorname = 'death rate, crude (per 1,000 people)' order by value desc limit 1 | Question: from 1960 to 1965, which country had the highest death rate, crude (per 1,000 people)? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCate... | from 1960 to 1965, which country had the highest death rate, crude (per 1,000 people)? |
world_development_indicators | select indicatorname from indicators where countryname = 'arab world' and year = 1960 and value > 50 | Question: please list the indicator names of arab world whose values are higher than 50 in 1960. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCate... | please list the indicator names of arab world whose values are higher than 50 in 1960. |
world_development_indicators | select countryname from indicators where indicatorname = 'merchandise imports by the reporting economy (current us$)' order by value desc limit 1 | Question: which country has the highest value of merchandise imports by the reporting economy (current us$)? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation,... | which country has the highest value of merchandise imports by the reporting economy (current us$)? |
world_development_indicators | select distinct t2.indicatorname from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t1.year = 1965 and t1.value > 100 and t2.periodicity = 'annual' | Question: please list annual indicator names which have values of more than 100 in 1965. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Ot... | please list annual indicator names which have values of more than 100 in 1965. |
world_development_indicators | select distinct t1.indicatorname from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t1.year >= 1968 and t1.year < 1971 and t2.licensetype = 'open' and t1.value < 100 | Question: from 1968 to 1970, what are indicator names whose license type is open and values are less than 100? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuatio... | from 1968 to 1970, what are indicator names whose license type is open and values are less than 100? |
world_development_indicators | select t1.countryname, t1.indicatorname from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t2.topic = 'private sector & trade: exports' order by t1.value desc limit 1 | Question: which country had the highest value of indicator belongs to private sector & trade: exports topic? please list the country name and indicator name. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, ... | which country had the highest value of indicator belongs to private sector & trade: exports topic? please list the country name and indicator name. |
world_development_indicators | select t1.indicatorname, min(t1.value) from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t2.aggregationmethod = 'weighted average' | Question: which indicator name uses the weighted average method and has the lowest value? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, O... | which indicator name uses the weighted average method and has the lowest value? |
world_development_indicators | select t1.indicatorname from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t1.countryname = 'sudan' and t1.year = 1961 and t2.periodicity = 'annual' | Question: please list out all annual indicator names of sudan in 1961? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemO... | please list out all annual indicator names of sudan in 1961? |
world_development_indicators | select countryname from indicators where value = ( select min(t1.value) from indicators as t1 inner join series as t2 on t1.indicatorname = t2.indicatorname where t1.year >= 1960 and t1.year < 1966 and t2.topic = 'health: population: structure' ) | Question: from 1960 to 1965, which country has the lowest value of indicator belongs to health: population: structure? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPrice... | from 1960 to 1965, which country has the lowest value of indicator belongs to health: population: structure? |
world_development_indicators | select sum(case when t2.indicatorname = 'co2 emissions from liquid fuel consumption (% of total)' and t2.value < 80 then 1 else 0 end) * 1.0 / count(t1.countrycode) persent from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'upper middle income' | Question: what percentage of upper middle income countries which have the co2 emissions from liquid fuel consumption (% of total)less than 80%? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccoun... | what percentage of upper middle income countries which have the co2 emissions from liquid fuel consumption (% of total)less than 80%? |
world_development_indicators | select distinct indicatorcode from indicators where indicatorname = 'rural population' | Question: what is indicator code of rural population? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNationalAccounts... | what is indicator code of rural population? |
world_development_indicators | select tablename from country where systemofnationalaccounts = 'country uses the 2008 system of national accounts methodology.' | Question: how many country uses the 2008 system of national accounts methodology? list our their table name. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation,... | how many country uses the 2008 system of national accounts methodology? list our their table name. |
world_development_indicators | select distinct t2.seriescode from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.currencyunit = 'euro' | Question: list out the series code of countries using euro as their currency unit. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGro... | list out the series code of countries using euro as their currency unit. |
world_development_indicators | select t1.longname from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.seriescode = 'dt.dod.dstc.cd' | Question: list out the long name of countries using series code as dt.dod.dstc.cd | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGrou... | list out the long name of countries using series code as dt.dod.dstc.cd |
world_development_indicators | select t2.seriescode from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.currencyunit = 'hong kong dollar' | Question: mention the series code of countries using hong kong dollar as their currency unit. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategor... | mention the series code of countries using hong kong dollar as their currency unit. |
world_development_indicators | select t1.tablename from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.seriescode = 'sp.dyn.to65.ma.zs' | Question: list out the table name of countries using series code as sp.dyn.to65.ma.zs | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Other... | list out the table name of countries using series code as sp.dyn.to65.ma.zs |
world_development_indicators | select distinct t2.countryname from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'low income' | Question: list out the country name of lower earning countries | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNationa... | list out the country name of lower earning countries |
world_development_indicators | select t2.seriescode, t2.countrycode from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.region = 'latin america & caribbean' and t1.incomegroup = 'low income' | Question: list out the series code and country code of the poor countries that located in latin american & carribbean. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPrice... | list out the series code and country code of the poor countries that located in latin american & carribbean. |
world_development_indicators | select t1.countrycode, t2.seriescode from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.currencyunit = 'australian dollar' and t1.incomegroup = 'lower middle income' | Question: mention the series code of countries using australian dollar as their currency unit. which country belongs to middle income group among them. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, Nation... | mention the series code of countries using australian dollar as their currency unit. which country belongs to middle income group among them. |
world_development_indicators | select distinct t1.countryname from indicators as t1 inner join country as t2 on t1.countrycode = t2.countrycode where t2.incomegroup = 'upper middle income' union select longname from ( select longname from country where nationalaccountsbaseyear <> '' order by nationalaccountsbaseyear asc limit 1 ) | Question: list out the country name of upper middle income group. which country has the earliest national account base year? list out the region where this country locates. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAcc... | list out the country name of upper middle income group. which country has the earliest national account base year? list out the region where this country locates. |
world_development_indicators | select distinct t1.countrycode, t2.countryname from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.currencyunit = 'euro' and (t1.incomegroup = 'high income: oecd' or t1.incomegroup = 'high income: nonoecd') | Question: list out the country code and country name of the rich countries using euro as their currency unit | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation,... | list out the country code and country name of the rich countries using euro as their currency unit |
world_development_indicators | select t1.tablename, t1.currencyunit from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.seriescode = 'fp.cpi.totl' | Question: list out the table name and currency unit of countries using series code as fp.cpi.totl | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCat... | list out the table name and currency unit of countries using series code as fp.cpi.totl |
world_development_indicators | select distinct t1.countrycode, t2.countryname from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'high income: nonoecd' | Question: list out the name and indicator code of high income: nonoecd countries | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroup... | list out the name and indicator code of high income: nonoecd countries |
world_development_indicators | select distinct t1.countrycode, t1.currencyunit, t1.incomegroup from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.currencyunit = 'pound sterling' and t1.incomegroup like '%high income%' | Question: mention the series code of countries using pound sterling as their currency unit. which country belongs to high income group among them. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAcc... | mention the series code of countries using pound sterling as their currency unit. which country belongs to high income group among them. |
world_development_indicators | select countrycode, shortname from country limit 10 | Question: list down 10 country codes and it's short names. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNationalAcc... | list down 10 country codes and it's short names. |
world_development_indicators | select count(shortname) from country where shortname like 'a%' union select alpha2code from country where shortname like 'a%' | Question: how many of the countries name start with alphabet a? list down the alpha2code of them. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCat... | how many of the countries name start with alphabet a? list down the alpha2code of them. |
world_development_indicators | select tablename from country where currencyunit = 'euro' | Question: which countries use euro as their currency? list down the table name. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups... | which countries use euro as their currency? list down the table name. |
world_development_indicators | select count(longname) from country where specialnotes = '' union select longname from country where specialnotes = '' | Question: how many of the countries do not have special notes? list the long name. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGro... | how many of the countries do not have special notes? list the long name. |
world_development_indicators | select countrycode, region from country where (incomegroup = 'high income: oecd' or incomegroup = 'high income: nonoecd') and region like '%asia%' | Question: which high income group countries are from asia? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNationalAcc... | which high income group countries are from asia? |
world_development_indicators | select longname from country where nationalaccountsbaseyear < '1980' and nationalaccountsbaseyear != '' | Question: name the countries' long name with national accounts base year prior to 1980. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Oth... | name the countries' long name with national accounts base year prior to 1980. |
world_development_indicators | select t1.countrycode from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'low income' and t2.seriescode = 'dt.dod.dect.cd' | Question: which low income country has a series code of dt.dod.dect.cd? name the country code of it. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, Lending... | which low income country has a series code of dt.dod.dect.cd? name the country code of it. |
world_development_indicators | select distinct t1.tablename from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'covers mainland tanzania only.' | Question: state the table name of country with description of 'covers mainland tanzania only'. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCatego... | state the table name of country with description of 'covers mainland tanzania only'. |
world_development_indicators | select t2.description, t2.seriescode from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t1.tablename = 'benin' and t2.year = 'yr2005' | Question: write down the description and series code of benin in year 2005. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, Sy... | write down the description and series code of benin in year 2005. |
world_development_indicators | select distinct t2.description from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t1.tablename = 'finland' and t2.year = 'yr2000' | Question: what are the footnote description of finland in year 2000? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfN... | what are the footnote description of finland in year 2000? |
world_development_indicators | select distinct t2.year, t1.tablename from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.indicatorname = 'air transport, passengers carried' | Question: what are the years when countries have indicator name of 'air transport, passengers carried'? list the table name of these countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccoun... | what are the years when countries have indicator name of 'air transport, passengers carried'? list the table name of these countries. |
world_development_indicators | select distinct t1.longname from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.year = 1980 and t2.indicatorname is not null | Question: list the long name of countries with indicator name in 1980. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemO... | list the long name of countries with indicator name in 1980. |
world_development_indicators | select t1.currencyunit, t2.indicatorcode from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.tablename = 'malaysia' and t2.year = 1970 | Question: state the currency of malaysia and what are the indicator code used by this country in 1970? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, Lendi... | state the currency of malaysia and what are the indicator code used by this country in 1970? |
world_development_indicators | select distinct t1.countrycode, t1.region from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode order by t2.value desc limit 5 | Question: name 5 country codes of country with highest value and state the region of these countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, Lendin... | name 5 country codes of country with highest value and state the region of these countries. |
world_development_indicators | select count(distinct t1.countrycode) from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'sources: un energy statistics (2014)' union select distinct t1.currencyunit from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.descr... | Question: how many countries have country note description as 'sources: un energy statistics (2014)'? list the currency of these countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsRe... | how many countries have country note description as 'sources: un energy statistics (2014)'? list the currency of these countries. |
world_development_indicators | select count(t2.description) from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t2.year = 'yr1980' union all select distinct t1.tablename from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t2.year = 'yr1980' | Question: how many footnotes have been made in year 1980 and what are the table names of these countries that made the footnotes? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYea... | how many footnotes have been made in year 1980 and what are the table names of these countries that made the footnotes? |
world_development_indicators | select t2.seriescode, t1.wb2code from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'data sources : eurostat' | Question: list the series code of country with country notes description as 'data sources : eurostat' and state the wb2code of these countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccoun... | list the series code of country with country notes description as 'data sources : eurostat' and state the wb2code of these countries. |
world_development_indicators | select t2.countryname from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'low income' and t2.indicatorname = 'adolescent fertility rate (births per 1,000 women ages 15-19)' order by t2.value limit 1 | Question: among the low income countries, which country has the lowest fertility rate? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Othe... | among the low income countries, which country has the lowest fertility rate? |
world_development_indicators | select sum(t2.value) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup like '%middle income' and t2.year = 1960 and t2.indicatorname = 'urban population' | Question: how much is the total urban population of middle income countries in 1960? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherG... | how much is the total urban population of middle income countries in 1960? |
world_development_indicators | select t2.countryname, t1.currencyunit from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.indicatorname = 'adjusted net national income (annual % growth)' and t2.year = 1980 and t1.currencyunit != '' order by t2.value desc limit 1 | Question: name the country with fastest growth in adjusted net national income in 1980 and state the currency used by this country. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceY... | name the country with fastest growth in adjusted net national income in 1980 and state the currency used by this country. |
world_development_indicators | select count(countrycode) from country where systemofnationalaccounts = 'country uses the 1993 system of national accounts methodology.' | Question: how many countries using the 1993 system of national accounts methodology? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherG... | how many countries using the 1993 system of national accounts methodology? |
world_development_indicators | select shortname from country where vitalregistrationcomplete = 'yes' | Question: which country have completed vital registration? list all the countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGro... | which country have completed vital registration? list all the countries. |
world_development_indicators | select shortname, longname from country where latestpopulationcensus >= 2010 and latestpopulationcensus < 2013 and vitalregistrationcomplete = 'yes' | Question: which country have conducted population census from 2010 until 2012 and have completed vital registration? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceVa... | which country have conducted population census from 2010 until 2012 and have completed vital registration? |
world_development_indicators | select countryname from indicators where year = 1960 and indicatorname = 'co2 emissions (metric tons per capita)' order by value desc limit 1 | Question: which country have the highest co2 emissions in 1960? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNation... | which country have the highest co2 emissions in 1960? |
world_development_indicators | select cast(max(value) as real) / min(value) from indicators where indicatorname = 'number of infant deaths' and year = '1971' union all select countryname from ( select countryname, max(value) from indicators where indicatorname = 'number of infant deaths' and year = '1971' ) union select countryname from ( select cou... | Question: what is the ratio between country with the highest number of infant deaths in 1971 and the lowest number of infant deaths in 1971? list the country with the highest number of infant deaths in 1971 and the lowest number of infant deaths in 1971. | Tables: Country -> CountryCode, ShortName, TableName, LongName,... | what is the ratio between country with the highest number of infant deaths in 1971 and the lowest number of infant deaths in 1971? list the country with the highest number of infant deaths in 1971 and the lowest number of infant deaths in 1971. |
world_development_indicators | select t1.shortname from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.seriescode = 'sp.dyn.cbrt.in' | Question: what country have the series code of sp.dyn.cbrt.in? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNationa... | what country have the series code of sp.dyn.cbrt.in? |
world_development_indicators | select distinct t1.countrycode from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'data are classified as official aid.' | Question: which country have data classified as official aid? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNational... | which country have data classified as official aid? |
world_development_indicators | select distinct t1.shortname from country as t1 inner join countrynotes as t2 on t1.countrycode = t2.countrycode where t2.description = 'estimates are based on regression.' | Question: what country have its data estimated based on regression? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGroups, SystemOfNa... | what country have its data estimated based on regression? |
world_development_indicators | select distinct t1.countrycode from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t2.year = 1970 and t1.region = 'east asia & pacific' and t2.value > 2000000 and t2.indicatorname = 'urban population' | Question: list all the country in east asia & pacific region that have more than 2000000 urban population in 1970. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValu... | list all the country in east asia & pacific region that have more than 2000000 urban population in 1970. |
world_development_indicators | select max(t2.value) from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.incomegroup = 'upper middle income' and t2.year = 1960 and t2.indicatorname = 'population, total' | Question: in 1960, what is largest population for country with upper middle income? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGr... | in 1960, what is largest population for country with upper middle income? |
world_development_indicators | select count(countrycode) from country where systemofnationalaccounts = 'country uses the 1968 system of national accounts methodology.' | Question: how many countries uses the 1968 system of national accounts methodology? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGr... | how many countries uses the 1968 system of national accounts methodology? |
world_development_indicators | select distinct t1.shortname from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode inner join series as t3 on t2.seriescode = t3.seriescode where t1.incomegroup = 'upper middle income' and t1.region = 'east asia & pacific' and t3.topic = 'social protection & labor: migration' | Question: what upper middle income country under east asia & pacific region which covers the topic about social protection & labor: migration? indicate the short name of the said country. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Co... | what upper middle income country under east asia & pacific region which covers the topic about social protection & labor: migration? indicate the short name of the said country. |
world_development_indicators | select distinct t1.longname from country as t1 inner join footnotes as t2 on t1.countrycode = t2.countrycode inner join series as t3 on t2.seriescode = t3.seriescode where t3.topic = 'poverty: shared prosperity' | Question: name the country in which the topic is about poverty: shared prosperity. indicate the long name of the country. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPr... | name the country in which the topic is about poverty: shared prosperity. indicate the long name of the country. |
world_development_indicators | select distinct t1.tablename from country as t1 inner join indicators as t2 on t1.countrycode = t2.countrycode where t1.latesttradedata = 2013 and t2.indicatorcode = 'sp.dyn.cdrt.in' | Question: what country has the latest trade data with a series code of 'sp.dyn.cdrt.in'? list the table name of the country. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, Sn... | what country has the latest trade data with a series code of 'sp.dyn.cdrt.in'? list the table name of the country. |
world_development_indicators | select distinct t3.longname from seriesnotes as t1 inner join countrynotes as t2 on t1.seriescode = t2.seriescode inner join country as t3 on t2.countrycode = t3.countrycode where t3.region = 'sub-saharan africa' and t1.seriescode = 'sp.dyn.amrt.fe' | Question: what country in the region of sub-saharan africa has a series code of 'sp.dyn.amrt.fe'? indicate the long name of the country | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsRefere... | what country in the region of sub-saharan africa has a series code of 'sp.dyn.amrt.fe'? indicate the long name of the country |
world_development_indicators | select shortname from country where currencyunit = 'u.s. dollar' limit 3 | Question: how many countries are using the same type of currency? please list the short names of any 3 countries. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValua... | how many countries are using the same type of currency? please list the short names of any 3 countries. |
world_development_indicators | select longname from country where incomegroup = 'low income' and region = 'south asia' | Question: what south asian nations have low incomes? please include the entire names of the nations in your answer. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceVal... | what south asian nations have low incomes? please include the entire names of the nations in your answer. |
world_development_indicators | select longname from country where systemoftrade = 'special trade system' limit 2 | Question: please provide full name of any two countries using special trade system. | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, OtherGr... | please provide full name of any two countries using special trade system. |
world_development_indicators | select countryname from indicators where indicatorname like 'co2 emissions from transport%' order by value desc limit 1 | Question: which country has had the highest proportion of co2 emissions from transport? | Tables: Country -> CountryCode, ShortName, TableName, LongName, Alpha2Code, CurrencyUnit, SpecialNotes, Region, IncomeGroup, Wb2Code, NationalAccountsBaseYear, NationalAccountsReferenceYear, SnaPriceValuation, LendingCategory, Oth... | which country has had the highest proportion of co2 emissions from transport? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.