db_id
stringclasses 69
values | question
stringlengths 24
325
| evidence
stringlengths 1
673
⌀ | SQL
stringlengths 23
804
| schema
stringclasses 69
values |
|---|---|---|---|---|
world_development_indicators
|
On which years did Aruba got a footnote on the series code AG.LND.FRST.K2?
|
Aruba is the name of country where ShortName = 'Aruba'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list the countries that got the footnote "Data are classified as official aid." on the series code DC.DAC.AUSL.CD in 2002.
|
countries are the Countrycode; footnote refers to Description = 'Data are classified as official aid'
|
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%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many footnotes did Aruba got on different series code in the year 2002?
|
Aruba is the name of country where ShortName = 'Aruba'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
For how many consecutive years did Aruba get a footnote on the series code BX.KLT.DINV.CD.WD?
|
Aruba is the name of country where ShortName = 'Aruba'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What is the average adolescent fertility rate of the country whose Alpha2Code is 1A over the years this indicator was calculated.
|
the average adolescent fertility rate is DIVIDE(SUM(value), SUM(IndicatorName like 'adolescent fertility rate%'))
|
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%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the special notes for the country whose average adolescent fertility rate is the highest?
|
the average adolescent fertility rate is DIVIDE(SUM(value), SUM(IndicatorName like 'adolescent fertility rate%')); MAX(average adolescent fertility rate)
|
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 )
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List the East Asia & Pacific countries which are under the High income: nonOECD group. Please include their alpha code.
|
the East Asia & Pacific countries are where Region = 'East Asia & Pacific'; High income: nonOECD group is where IncomeGroup = 'High income: nonOECD'
|
SELECT CountryCode, Alpha2Code FROM Country WHERE Region = 'East Asia & Pacific' AND IncomeGroup = 'High income: nonOECD'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
| null |
SELECT LongName, Alpha2Code FROM Country WHERE LatestTradeData = 2013 AND LatestWaterWithdrawalData = 2013
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What is the average value of Adjusted net enrolment rate, primary, both sexes (%) indicator in Algeria from 1975 to 1980?
|
the average value of Adjusted net enrolment rate, primary, both sexes (%) is DIVIDE(SUM(Value), SUM(IndicatorName = 'Adjusted net enrolment rate, primary, both sexes (%)')); Year BETWEEN 1975 AND 1980; Algeria is the name of country where CountryName = 'Algeria'
|
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 (%)'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the Indicator names and aggregation methods when the topic is Economic Policy & Debt: Balance of payments: Capital & financial account?
| null |
SELECT IndicatorName, AggregationMethod FROM Series WHERE Topic = 'Economic Policy & Debt: Balance of payments: Capital & financial account'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List down the series codes in which the topic is about Environment: Emissions and the license type is restricted. Please include their alpha code.
| null |
SELECT SeriesCode FROM Series WHERE Topic = 'Environment: Emissions' AND LicenseType = 'Restricted'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
In 1970, how many Middle Eastern & North African countries whose value for CO2 emissions from gaseous fuel consumption (kt) indicator is more than 600?
|
Year = 1970; Middle East & North Africa is the name of the region where Region = 'Middle East & North Africa'; CO2 emissions from gaseous fuel consumption (kt) is the name of indicator where IndicatorName = 'CO2 emissions from gaseous fuel consumption (kt)'
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
Latin American & Caribbean countries is the name of the region where Region in ('Latin America' , 'Caribbean'); CO2 emissions from gaseous fuel consumption (kt) is the name of indicator where IndicatorName = 'CO2 emissions from gaseous fuel consumption (kt)'; average value in CO2 emissions (kt) = DIVIDE(SUM(Value), SUM(IndicatorName = 'CO2 emissions from gaseous fuel consumption (kt)')); Year > 1965
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What is the series note description of the series "SP.DYN.TO65.MA.ZS" which covers the topic "Health: Mortality" in 1967?
|
in 1967 refers to Year = 'YR1967'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please write down the footnote descriptions of Albania in 1981.
|
Albania is the name of country where Country = 'Albania'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Enumerate the footnote narratives of The Bahamas under the series code SH.DTH.IMRT in the year 1984.
|
narratives is Description; The Bahamas is the name of the country where Country = 'The Bahamas'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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?
|
Net bilateral aid flows from DAC donors, Sweden (current US$) is the name of indicator where IndicatorName = 'Net bilateral aid flows from DAC donors, Sweden (current US$)'; Year = 1970; Value > 570,000
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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 Bank code refers to Wb2code; Data source refers to Description
|
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 != ''
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
Total reserves minus gold (current US$) is the IndicatorName; Haiti is the CountryName; Year = 1961
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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?
|
Adjusted net national income per capita (constant 2005 US$) is the IndicatorName; have not finished their external debt reporting means ExternalDebtReportingStatus = 'Preliminary'
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which countries have a fertility rate between 4 and 5 in 1979? List their names.
|
Year = 1979; fertility rate refers to IndicatorName = 'Fertility rate, total (births per woman)'; Value is between 4 and 5;
|
SELECT CountryName FROM Indicators WHERE Year = 1979 AND IndicatorName = 'Fertility rate, total (births per woman)' AND value >= 4 AND Value <= 5
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
South Asia is the name of the region; IncomeGroup = 'Low income';
|
SELECT TableName, SourceOfMostRecentIncomeAndExpenditureData FROM Country WHERE Region = 'South Asia' AND IncomeGroup = 'Low income'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the sources for the data of children who finished primary school education in Latin America & Caribbean countries?
|
Latin America & Caribbean is the name of the region; children who finished primary school education refer to IndicatorName = 'Out-of-school children of primary school age, both sexes (number)'; sources refer to Description;
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List the sources for the Net Migration in South American countries in 2002.
|
South American is the name of the region; Year contains '2002'; sources refer to Description; IndicatorName = 'Net migration';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the sources for the data of children who finished primary school education in North American countries?
|
North American is the name of the region; sources refer to Description; children who finished primary school education refer to IndicatorName = 'Out-of-school children of primary school age, both sexes (number)';
|
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)'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
IndicatorName = 'GDP growth (annual %)'; Year = 2014;
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
Year = 2005; private expenditure on health refers to IndicatorName = 'Out-of-pocket health expenditure (% of private expenditure on health)'; the highest refers to MAX(Value); source refers to Description;
|
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 = 2005 ORDER BY T2.Value DESC LIMIT 10
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many low income countries are there in South Asia?
|
South Asia is the name of the region; IncomeGroup = 'Low income';
|
SELECT COUNT(CountryCode) FROM Country WHERE Region = 'South Asia' AND IncomeGroup = 'Low income'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list the short name of countries which have the latest trade data after 2010.
|
the latest trade data after 2010 implies LatestTradeData > 2010;
|
SELECT ShortName FROM Country WHERE LatestTradeData > 2010
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please calculate the percentage of Sub-Saharan African countries which are in the Special trade system.
|
Sub-Saharan African is the name of the region; SystemOfTrade = 'Special trade system'; countries refer to CountryCode; DIVIDE(COUNT (CountryCode where SystemOfTrade = 'Special trade system' and Region = 'Sub-Saharan Africa'), COUNT(CountryCode where Region = 'Sub-Saharan Africa')) as percentage;
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please calculate the average of Arms imports (SIPRI trend indicator values) of the European & Central Asian countries.
|
European & Central Asian is the name of the region; IndicatorName = 'Arms imports (SIPRI trend indicator values)'; countries refer to CountryCode; DIVIDE(Sum(Value), Count(CountryCode));
|
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)'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which upper middle income country has the lowest value of CO2 emissions (kt)?
|
IncomeGroup = 'Upper middle income'; IndicatorName = 'CO2 emissions (kt); the lowest value refers to MIN(Value);
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What is the minimum of International migrant stock, total of heavily indebted poor countries?
|
IndicatorName = 'International migrant stock, total'; heavily indebted poor countries referred to by its abbreviated 'HIPC' = OtherGroups; MIN(Value);
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list the indicator names belonging to Education: Inputs topic in 2000.
|
Year = 'YR2000';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many annual indicators use the Sum aggregation method from 2001 to 2003?
|
Annual refers to Periodicity; from 2001 to 2003 implies Year = 'YR2001', Year = 'YR2002' , Year = 'YR2003';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
In 2005, which series codes use the International Monetary Fund, Balance of Payments Statistics Yearbook and data files source?
|
Year contains '2005'; series codes contain 'International Monetary Fund'
|
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%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What percentage of countries in South Asia have the Life expectancy at birth, female (years) greater than 50?
|
South Asia is the name of the region; IndicatorName = 'Life expectancy at birth, female (years)'; greater than 50 refers to Value>50; DIVIDE(COUNT(CountryCode where IndicatorName = 'Life expectancy at birth, female (years)'; Value>50; Region = 'South Asia'), COUNT(CountryCode where Region = 'South Asia')) as percentage;
|
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)'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
From 1960 to 1965, which country had the highest Death rate, crude (per 1,000 people)?
|
IndicatorName = 'Death rate, crude (per 1,000 people)'; the highest refers to MAX(Value); from 1960 to 1965 refers to Year between '1960' and '1965'; country refers to CountryName;
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list the indicator names of Arab World whose values are higher than 50 in 1960.
|
Arab World refers to CountryName; Year = '1960'; values are higher than 50 refers to Value>50;
|
SELECT IndicatorName FROM Indicators WHERE CountryName = 'Arab World' AND Year = 1960 AND Value > 50
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country has the highest value of Merchandise imports by the reporting economy (current US$)?
|
country refers to CountryName; the highest value implies MAX(Value); IndicatorName = 'Merchandise imports by the reporting economy (current US$)';
|
SELECT CountryName FROM Indicators WHERE IndicatorName = 'Merchandise imports by the reporting economy (current US$)' ORDER BY Value DESC LIMIT 1
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list annual indicator names which have values of more than 100 in 1965.
|
Annual refers to Periodicity; values of more than 100 implies Value>100; Year = '1965';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
From 1968 to 1970, what are indicator names whose license type is open and values are less than 100?
|
From 1968 to 1970 refers to Year between '1968' and '1970'; values are less than 100 imply Value<100;
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country had the highest value of indicator belongs to Private Sector & Trade: Exports topic? Please list the country name and indicator name.
|
country refers to CountryName;
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which indicator name uses the Weighted average method and has the lowest value?
|
AggregationMethod = 'Weighted average'; the lowest value implies MIN(Value);
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please list out all annual indicator names of Sudan in 1961?
|
Sudan is the name of the country; Periodicity = 'Annual'; Year = '1961'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
From 1960 to 1965, which country has the lowest value of indicator belongs to Health: Population: Structure?
|
From 1960 to 1965 refers to Year between '1960' and '1965'; the lowest value implies MIN(Value); country refers to CountryName;
|
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' )
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What percentage of upper middle income countries which have the CO2 emissions from liquid fuel consumption (% of total)
less than 80%?
|
IndicatorName = 'CO2 emissions from liquid fuel consumption (% of total)'; less than 80% implies Value<80%; IncomeGroup = 'Upper middle income'; DIVIDE(COUNT(CountryCode where IndicatorName = 'CO2 emissions from liquid fuel consumption (% of total)'; Value<80%; IncomeGroup = 'Upper middle income'), COUNT(CountryCode where IncomeGroup = 'Upper middle income'));
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What is indicator code of Rural population?
|
IndicatorName = 'Rural population';
|
SELECT DISTINCT IndicatorCode FROM Indicators WHERE IndicatorName = 'Rural population'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many country uses the 2008 System of National Accounts methodology? List our their table name.
| null |
SELECT TableName FROM Country WHERE SystemOfNationalAccounts = 'Country uses the 2008 System of National Accounts methodology.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the series code of countries using Euro as their currency unit.
| null |
SELECT DISTINCT T2.SeriesCode FROM Country AS T1 INNER JOIN CountryNotes AS T2 ON T1.CountryCode = T2.Countrycode WHERE T1.CurrencyUnit = 'Euro'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the long name of countries using series code as DT.DOD.DSTC.CD
| null |
SELECT T1.LongName FROM Country AS T1 INNER JOIN CountryNotes AS T2 ON T1.CountryCode = T2.Countrycode WHERE T2.SeriesCode = 'DT.DOD.DSTC.CD'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Mention the series code of countries using Hong Kong dollar as their currency unit.
| null |
SELECT T2.SeriesCode FROM Country AS T1 INNER JOIN CountryNotes AS T2 ON T1.CountryCode = T2.Countrycode WHERE T1.CurrencyUnit = 'Hong Kong dollar'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the table name of countries using series code as SP.DYN.TO65.MA.ZS
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the country name of lower earning countries
|
lower earning countries refer to IncomeGroup = 'Low income';
|
SELECT DISTINCT T2.CountryName FROM Country AS T1 INNER JOIN Indicators AS T2 ON T1.CountryCode = T2.CountryCode WHERE T1.IncomeGroup = 'Low income'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the series code and country code of the poor countries that located in Latin American & Carribbean.
|
Latin American & Carribbean is the name of the region; poor countries refers to IncomeGroup = 'Low income';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Mention the series code of countries using Australian dollar as their currency unit. Which country belongs to middle income group among them.
|
middle income group refers to IncomeGroup = 'Low middle income';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
IncomeGroup = 'Upper middle income'; the earliest national account base year refers to MIN(NationalAccountsBaseYear);
|
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 )
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the country code and country name of the rich countries using Euro as their currency unit
|
Non-OECD and OECD countries can be regarded as rich countries for those that are part of the High Income Group;
|
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')
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the table name and currency unit of countries using series code as FP.CPI.TOTL
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List out the name and indicator code of high income: nonOECD countries
|
high income: non-OECD' refer to IncomeGroup;
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Mention the series code of countries using pound sterling as their currency unit. Which country belongs to high income group among them.
| null |
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%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List down 10 country codes and it's short names.
| null |
SELECT CountryCode, ShortName FROM Country LIMIT 10
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many of the countries name start with alphabet A? List down the Alpha2Code of them.
|
countries name starts with alphabet A refers to shortname like 'A%';
|
SELECT COUNT(ShortName) FROM Country WHERE ShortName LIKE 'A%' UNION SELECT alpha2code FROM country WHERE shortname LIKE 'A%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which countries use Euro as their currency? List down the table name.
|
CurrencyUnit = 'Euro';
|
SELECT TableName FROM Country WHERE CurrencyUnit = 'Euro'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many of the countries do not have special notes? List the long name.
|
do not have special notes implies SpecialNotes are NULL;
|
SELECT COUNT(LongName) FROM Country WHERE SpecialNotes = '' UNION SELECT longname FROM country WHERE specialnotes = ''
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which high income group countries are from Asia?
|
Asia is the name of the region;
|
SELECT CountryCode, Region FROM Country WHERE (IncomeGroup = 'High income: OECD' OR IncomeGroup = 'High income: nonOECD') AND Region LIKE '%Asia%'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Name the countries' long name with national accounts base year prior to 1980.
|
national accounts base year prior to 1980 means before 1980 and refers to NationalAccountsBaseYear<1980;
|
SELECT LongName FROM Country WHERE NationalAccountsBaseYear < '1980' AND NationalAccountsBaseYear != ''
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which low income country has a series code of DT.DOD.DECT.CD? Name the country code of it.
|
IncomeGroup = 'Low income';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
State the table name of country with description of "Covers mainland Tanzania only".
| null |
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.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Write down the description and series code of Benin in year 2005.
|
Benin is the short name of the country; year 2005 refers to Year = 'YR2005';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the footnote description of Finland in year 2000?
|
Finland is the short name of the country; year 2000 refers to Year = 'YR2000';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What are the years when countries have indicator name of "Air transport, passengers carried"? List the table name of these countries.
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List the long name of countries with indicator name in 1980.
|
with any indicator name implies IndicatorName is not NULL; Year = '1980';
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
State the currency of Malaysia and what are the indicator code used by this country in 1970?
|
Malaysia is the name of the country; currency refers to CurrencyUnit; Year = '1970';
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Name 5 country codes of country with highest value and state the region of these countries.
|
with highest value refers to MAX(Value);
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many countries have country note description as "Sources: UN Energy Statistics (2014)"? List the currency of these countries.
|
countries refer to CountryCode; currency refers to CurrencyUnit;
|
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.Description = 'Sources: UN Energy Statistics (2014)'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many footnotes have been made in year 1980 and what are the table names of these countries that made the footnotes?
|
year 1980 refers to Year = 'YR1980';
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List the series code of country with country notes description as "Data sources : Eurostat" and state the Wb2Code of these countries.
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Among the low income countries, which country has the lowest fertility rate?
|
fertility rate refers to IndicatorName = 'Adolescent fertility rate (births per 1,000 women ages 15-19)'; lowest refers to MIN(Value); IncomeGroup = 'Low income';
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How much is the total urban population of middle income countries in 1960?
|
IncomeGroup = 'Middle income'; Year = 1960; urban population refers to IndicatorName;
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Name the country with fastest growth in adjusted net national income in 1980 and state the currency used by this country.
|
fastest growth refers to MAX(Value); IndicatorName = 'Adjusted net national income (annual % growth)'; Year = '1980'; currency refers to CurrencyUnit;
|
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
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many countries using the 1993 System of National Accounts methodology?
|
use the 1993 System of National Accounts methodology refers to SystemOfNationalAccounts = '1993 System of National Accounts methodology.'
|
SELECT COUNT(CountryCode) FROM Country WHERE SystemOfNationalAccounts = 'Country uses the 1993 System of National Accounts methodology.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country have completed vital registration? List all the countries.
|
have completed vital registration refers to VitalRegistrationComplete = Yes; country name refers to ShortName
|
SELECT ShortName FROM Country WHERE VitalRegistrationComplete = 'Yes'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country have conducted population census from 2010 until 2012 and have completed vital registration?
|
from 2010 until 2012 refers to LatestPopulationCensus between '2010' and '2012'; have completed vital registration refers to VitalRegistrationComplete = 'Yes'; CountryName = ShortName + LongName
|
SELECT ShortName, LongName FROM Country WHERE LatestPopulationCensus >= 2010 AND LatestPopulationCensus < 2013 AND VitalRegistrationComplete = 'Yes'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country have the highest CO2 emissions in 1960?
|
which country refers to countryname; the highest CO2 emissions refers to max(value where indicatorname = 'CO2 emissions (metric tons per capita)'); in 1960 refers to year = '1970'
|
SELECT CountryName FROM Indicators WHERE Year = 1960 AND IndicatorName = 'CO2 emissions (metric tons per capita)' ORDER BY Value DESC LIMIT 1
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
ratio = divide(max(value where indicatorname = 'Number of infant deaths' and year = '1971'), min(value where indicatorname = 'Number of infant deaths' and year = '1971')); the highest number of infant deaths in 1971 refers to max(value where indicatorname = 'Number of infant deaths' and year = '1971'); the lowest number of infant deaths in 1971 refers to min(value where indicatorname = 'Number of infant deaths' and year = '1971')
|
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 countryname, MIN(value) FROM indicators WHERE indicatorname = 'Number of infant deaths' AND year = '1971' )
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What country have the series code of SP.DYN.CBRT.IN?
|
what country refers to ShortName
|
SELECT T1.ShortName FROM Country AS T1 INNER JOIN CountryNotes AS T2 ON T1.CountryCode = T2.Countrycode WHERE T2.SeriesCode = 'SP.DYN.CBRT.IN'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country have data classified as official aid?
|
which country refers to ShortName; have data classified as official aid refers to description = 'Data are classified as official aid.'
|
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.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What country have its data estimated based on regression?
|
what country refers to LongName; have its data estimated based on regression refers to description = 'Estimates are based on regression.'
|
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.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
List all the country in East Asia & Pacific region that have more than 2000000 urban population in 1970.
|
country refers to LongName; have more than 2000000 urban population refers to value where indicatorname = 'Urban population'>2000000; in 1970 refers to year = '1970'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
In 1960, what is largest population for country with upper middle income?
|
in 1960 refers to year = '1960'; the largest population refers to max(value where IndicatorName = 'Population, total'); country with upper middle income refers to incomegroup = 'Upper middle income'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many countries uses the 1968 System of National Accounts methodology?
|
uses the 1968 System of National Accounts methodology refers to SystemOfNationalAccounts = '1968 System of National Accounts methodology'
|
SELECT COUNT(CountryCode) FROM Country WHERE SystemOfNationalAccounts = 'Country uses the 1968 System of National Accounts methodology.'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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.
|
upper middle income country refers to incomegroup = 'Upper middle income'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Name the country in which the topic is about Poverty: Shared Prosperity. Indicate the long name of the country.
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What country has the latest trade data with a series code of "SP.DYN.CDRT.IN
"? List the table name of the country.
|
the latest trade data refers to LatestTradeData = '2013'; with a series code of "SP.DYN.CDRT.IN
" refers to indicatorcode = 'SP.DYN.CDRT.IN'
|
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
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
| null |
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'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
How many countries are using the same type of currency? Please list the short names of any 3 countries.
|
any 3 countries refers to count(shortname)>3
|
SELECT ShortName FROM country WHERE currencyunit = 'U.S. dollar' LIMIT 3
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
What South Asian nations have low incomes? Please include the entire names of the nations in your answer.
|
South Asian nations refers to region = 'South Asia'; have low incomes refers to incomegroup = 'Low income'; the entire names refers to longname
|
SELECT LongName FROM Country WHERE IncomeGroup = 'Low income' AND Region = 'South Asia'
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Please provide full name of any two countries using special trade system.
|
full name refers to longname; using special trade system refers to systemoftrade = 'Special trade system'
|
SELECT LongName FROM Country WHERE SystemOfTrade = 'Special trade system' LIMIT 2
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
world_development_indicators
|
Which country has had the highest proportion of CO2 emissions from transport?
|
the highest proportion of CO2 emissions from transport refers to max(value where indicatorname = 'CO2 emissions from transport (% of total fuel combustion)')
|
SELECT CountryName FROM Indicators WHERE IndicatorName LIKE 'CO2 emissions FROM transport%' ORDER BY Value DESC LIMIT 1
|
database name:db_id world_development_indicators
Country table Country Cols: Country Code dtype text, Short Name dtype text, Table Name dtype text, Long Name dtype text, Alpha to Code dtype text, Currency Unit dtype text, Special Notes dtype text, Region dtype text, Income Group dtype text, world bank to code dtype text, National Accounts Base Year dtype text, National Accounts Reference Year dtype text, SNA Price Valuation dtype text, Lending Category dtype text, Other groups dtype text, System Of National Accounts dtype text, Alternative Conversion Factor dtype text, purchasing power parity survey year dtype text, Balance Of Payments Manual In Use dtype text, External Debt Reporting Status dtype text, System Of Trade dtype text, Government Accounting Concept dtype text, International Monetory Fund Data Dissemination Standard dtype text, Latest Population Census dtype text, Latest Household Survey dtype text, Source Of Most Recent Income And Expenditure Data dtype text, Vital Registration Complete dtype text, Latest Agricultural Census dtype text, Latest Industrial Data dtype integer, Latest Trade Data dtype integer, Latest Water Withdrawal Data dtype integer,
Series table Series Cols: Series Code dtype text, Topic dtype text, Indicator Name dtype text, Short Definition dtype text, Long Definition dtype text, Unit Of Measure dtype text, Periodicity dtype text, Base Period dtype text, Other Notes dtype integer, Aggregation Method dtype text, Limitations And Exceptions dtype text, Notes From Original Source dtype text, General Comments dtype text, Source dtype text, Statistical Concept And Methodology dtype text, Development Relevance dtype text, Related Source Links dtype text, Other Web Links dtype integer, Related Indicators dtype integer, License Type dtype text,
CountryNotes table CountryNotes Cols: Country code dtype text, Series code dtype text, Description dtype text,
FootNotes table FootNotes Cols: Country code dtype text, Series code dtype text, Year dtype text, Description dtype text,
Indicators table Indicators Cols: Country code dtype text, Series code dtype text, Indicator Name dtype text, Indicator Code dtype text, Year dtype integer, Value dtype integer,
SeriesNotes table SeriesNotes Cols: Series code dtype text, Year dtype text, Description dtype text,
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.