context
stringlengths 11
9.12k
| question
stringlengths 0
1.06k
| SQL
stringlengths 2
4.44k
| source
stringclasses 28
values |
---|---|---|---|
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Of all the countries of the Hindu religion, which has the lowest ratio of people per square meter of surface? | SELECT T1.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Hindu' ORDER BY T1.Population / T1.Area ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | On what date did the country have a gross domestic product 400% higher than Saint Kitts and Nevis become independent? | SELECT Independence FROM politics WHERE country = ( SELECT country FROM economy WHERE GDP = 1100 ) | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the average population ratio of the countries in which organizations were established in 1947? | SELECT T1.Population / T1.Area FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE STRFTIME('%Y', T2.Established) = '1947' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the name of Anguilla's capital, and where is it located? | SELECT Capital, Province FROM country WHERE Name = 'Anguilla' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which nation has the smallest population, and where is its capital located? | SELECT Name, Capital FROM country ORDER BY Population ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | How much more space does Asia have than Europe? | SELECT MAX(Area) - MIN(Area) FROM continent WHERE Name = 'Asia' OR Name = 'Europe' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the geographic location of Aarhus city? Please provide the answer with the coordinates of the location. | SELECT Longitude, Latitude FROM city WHERE Name = 'Aarhus' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the population gap between the United Kingdom and Italy? | SELECT MAX(Population) - MIN(Population) FROM country WHERE Name = 'United Kingdom' OR Name = 'Italy' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | In which city is the European Bank for Reconstruction and Development's headquarters? Please include the city and province where the headquarters are located in your answer. | SELECT City, Province FROM organization WHERE Name = 'European Bank for Reconstruction and Development' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which lake is the largest in terms of both surface area and depth? | SELECT Name FROM lake ORDER BY Area * Depth DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which two nations are separated from one another by the longest border? Please include the entire names of the nations in your answer. | SELECT Country1, Country2 FROM borders ORDER BY Length DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which nation has the highest GDP? Please give the nation's full name. | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.GDP DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which nation has the lowest proportion of people who speak an African language? Please state the nation's full name. | SELECT T1.Name FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'African' ORDER BY T2.Percentage ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which country has three different religions-Anglicanism, Christianity, and Roman Catholicism and uses 100% English? | SELECT T2.Country FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country INNER JOIN language AS T3 ON T3.Country = T2.Country WHERE (T2.Name = 'Anglican' OR T2.Name = 'Christian' OR T2.Name = 'Roman Catholic') AND T3.Name = 'English' AND T3.Percentage = 100 GROUP BY T1.Name HAVING COUNT(T1.Name) = 3 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Please list the top 3 countries with the highest inflation rate. | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.Inflation DESC LIMIT 3 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Please provide a list of every nation where English is spoken and utilized entirely. | SELECT T1.Name FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'English' AND T2.Percentage = 100 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | How many businesses were founded after 1960 in a nation that wasn't independent? | SELECT COUNT(T3.Name) FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country WHERE T2.Independence = NULL AND STRFTIME('%Y', T3.Established) > '1960' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What province did the river Klaeaelv travel through and how long is the river? | SELECT T1.Province FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Klaraelv' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | How many Italian regions are bordered by the Mediterranean Sea? How deep is the Mediterranean Sea? | SELECT COUNT(DISTINCT T2.province), T3.Depth FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country INNER JOIN sea AS T3 ON T3.Name = T2.Sea WHERE T1.Code = 'I' AND T3.Name = 'Mediterranean Sea' GROUP BY T3.Depth | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What nations are considered British Overseas Territories? | SELECT name FROM country WHERE CODE IN ( SELECT country FROM politics WHERE government = 'British Overseas Territories' ) | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which of the top 3 economies by GDP has the lowest proportion of the economy devoted to agriculture? | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.GDP DESC, T2.Agriculture ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | How big is Africa, and how many nations make up the continent? | SELECT T1.Area, COUNT(T3.Name) FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T1.Name = 'Asia' GROUP BY T1.Name, T1.Area | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which United States province is home to the greatest number of corporations' corporate headquarters? | SELECT T1.Province FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'United States' GROUP BY T1.Province ORDER BY COUNT(T1.Name) DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What are the most recent three independent nations? | SELECT T1.Name FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country ORDER BY T2.Independence DESC LIMIT 3 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Please name any three sovereign nations that have been governed by the republic since 1991. | SELECT country FROM politics WHERE government = 'republic' AND STRFTIME('%Y', independence) >= '1991' AND country IN ( SELECT country FROM country ) ORDER BY independence LIMIT 3 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which company falls under the category of an associated member? Please provide the organization's full name. | SELECT NAME FROM organization WHERE country IN ( SELECT country FROM politics WHERE dependent != '' ) | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which nations have a boundary with the Kalahari Desert? | SELECT T3.Name FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T1.Name = 'Kalahari' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which desert in Kazakhstan is the largest? | SELECT T1.Name FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T3.Name = 'Kazakstan' ORDER BY T1.Area DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What sea does the Baltic Sea converge with, and how deep is the Baltic Sea? | SELECT T2.Sea2, T1.Depth FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = 'Baltic Sea' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which constitutional monarchy nations saw the greatest growth in the number of organizations after 1907? | SELECT T1.Name FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country WHERE STRFTIME('%Y', T2.Established) > '1907' AND T3.Government = 'constitutional monarchy' GROUP BY T1.Name ORDER BY COUNT(DISTINCT T2.Name) DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What kind of mountain is Ampato? Which province and nation does this mountain belong to? | SELECT T1.Type, T3.Name, T4.Name FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T3.Country = T4.Code WHERE T1.Name = 'Ampato' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Please provide a list of every volcano mountain in the province of Ecuador. | SELECT T1.Name FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province WHERE T3.Name = 'Ecuador' AND T1.Type = 'volcano' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What percentage of nations have achieved independence since 1993 and practice parliamentary democracy? Please include any three parliament-based democracies that attained independence after 1993. | SELECT SUM(IIF(government = 'parliamentary democracy', 1, 0)) , CAST(SUM(IIF(government = 'parliamentary democracy', 1, 0)) AS REAL) * 100 / COUNT(*) FROM politics AS t1 WHERE STRFTIME('%Y', independence) >= '1993' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What proportion of rivers have a length of more than 3,000 miles? Please provide the name of a Russian river that is more than 3,000 miles long. | SELECT CAST(SUM(CASE WHEN T1.Length > 3000 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.Name) FROM river AS T1 INNER JOIN located AS T2 ON T1.Name = T2.River INNER JOIN country AS T3 ON T3.Code = T2.Country | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the full name of ABEDA and when was it established? | SELECT Name, Established FROM organization WHERE Abbreviation = 'ABEDA' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Name all the organisations that were established from 1970 to 1980. | SELECT Name FROM organization WHERE STRFTIME('%Y', Established) BETWEEN '1970' AND '1980' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Provide a list of all organisations with headquarters in London? | SELECT Name FROM organization WHERE City = 'London' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | For each organisations with headquarters in the USA, provide the its full name and the city where the headquarter is located at. | SELECT Name, City FROM organization WHERE Country = 'USA' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Name the first organisation established in the Paris city. State its abbreviation, full name and date of establishment. | SELECT Abbreviation, Name, Established FROM organization WHERE City = 'Paris' ORDER BY Established ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List all the organisations that where its name contains 'United Nation'. State its full name and its headquarter city. | SELECT Name, City FROM organization WHERE Name LIKE '%United Nation%' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which 2 countries' border span across the longest length? Provide the country's full name. | SELECT T1.Name, T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 ORDER BY T2.Length DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Name all countries in which have border with Bulgaria. | SELECT T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 WHERE T1.Name = 'Bulgaria' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | State all countries with border greater than 4,000. List the full country name. | SELECT T1.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 WHERE T2.Length > 4000 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Among the country member of 'IOC' organization, which country has the most population? | SELECT T2.Name FROM isMember AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Organization = 'IOC' ORDER BY T2.Population DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List all members and member type of the Islamic Development Bank. | SELECT T2.Country, T2.Type FROM organization AS T1 INNER JOIN isMember AS T2 ON T1.Abbreviation = T2.Organization INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T1.Name = 'Islamic Development Bank' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | State the area and population of the country where Asia Pacific Economic Cooperation headquarter is located. | SELECT T2.Name, T2.Population FROM organization AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Name = 'Asia Pacific Economic Cooperation' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the organization(s) that has 'National Society' as member type. | SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T2.Type = 'National Society' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which country has the least organization membership? | SELECT country FROM organization WHERE country IN ( SELECT Code FROM country ) GROUP BY country ORDER BY COUNT(NAME) LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List all countries with 'Category III' membership in 'IFAD' organization. Please also provide the capital of the country. | SELECT Name, Capital FROM country WHERE Code IN ( SELECT Country FROM isMember WHERE type = 'Category III' AND Organization = 'IFAD' ) | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Name the organizations with the most members. | SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code GROUP BY T1.Name ORDER BY COUNT(T3.Name) DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the capital of Australia? Is the capital a headquarter to any organization? Name the organization(s). | SELECT T2.Capital, T1.Name FROM organization AS T1 INNER JOIN country AS T2 ON T1.City = T2.Capital WHERE T2.Name = 'Australia' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Among the organizations where headquarters are in the 'USA', what is the percentage of the them are in 'Washington'? | SELECT CAST(SUM(CASE WHEN T2.City = 'Washington' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T2.City) FROM country AS T1 INNER JOIN organization AS T2 ON T1.Code = T2.Country WHERE T2.Country = 'USA' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the border length between 'USA' and 'MEX' | SELECT Length FROM borders WHERE Country1 = 'MEX' AND Country2 = 'USA' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the newest established organization where Singapore is a member of? | SELECT T3.Name FROM country AS T1 INNER JOIN isMember AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country WHERE T1.Name = 'Singapore' ORDER BY T3.Established DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Provide the population of the city of the 'World Tourism Organization' headquarter. | SELECT T2.Population FROM organization AS T1 INNER JOIN city AS T2 ON T1.City = T2.Name WHERE T1.Name = 'World Tourism Organization' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the height of mountain Dhaulagiri located and in which province is it located? | SELECT T1.Height, T2.Province FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T1.Name = 'Dhaulagiri' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List all the name and height of all mountains in Alaska | SELECT T1.Name, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T2.Province = 'Alaska' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the population of the country with the highest infant mortality rate? | SELECT T1.Population FROM country AS T1 INNER JOIN population AS T2 ON T1.Code = T2.Country ORDER BY T2.Infant_Mortality DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | State the inflation rate of Greece. | SELECT T2.Inflation FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Greece' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Find the government type for the country with the highest percentage GDP in Agriculture. | SELECT T3.Government FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country ORDER BY T2.Agriculture DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List the full name its capital of all the countries with parliamentary democracy government. | SELECT T1.Capital FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T2.Government = 'parliamentary democracy' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Provide a full list of countries and its population with more than 70% of Chinese. | SELECT T1.Name, T1.Population * T2.Percentage FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Chinese' AND T2.Percentage > 70 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | In which city has the greatest population, what is its percentage to its country population? | SELECT T3.Name, CAST(T3.Population AS REAL) * 100 / T1.Population FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Country = T2.Country ORDER BY T3.Population DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | When did the United States of America attained it's Independence? | SELECT T1.Independence FROM politics AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'United States' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the peak height of the highest volcanic type of mountain? Give it's name. | SELECT Height, Name FROM mountain WHERE Type = 'volcanic' ORDER BY Height DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the name of the most recently founded organization in Saudi Arabia? | SELECT T1.Name FROM organization AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'Saudi Arabia' ORDER BY T1.Established DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which country has the 5th highest infant mortality rate? | SELECT T2.Name FROM population AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Infant_Mortality DESC LIMIT 4, 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which country has the widest range of religious practices? | SELECT T1.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country GROUP BY T1.Name ORDER BY COUNT(DISTINCT T2.Name) DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What river has the 17th-longest length overall? Specify it's length. | SELECT Name, Length FROM river ORDER BY Length DESC LIMIT 16, 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | When did the country whose capital is Nouakchott attained it's independence? | SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Capital = 'Nouakchott' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the name of the country with the smallest population, and what is its gross domestic product? | SELECT T1.Name, T2.GDP FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T1.Population ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which Zaire region is home to the country's deepest lake's Name it and list its depth. | SELECT T3.Name, T1.Name, T1.Depth FROM lake AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Lake INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T4.Code = T3.Country WHERE T4.Name = 'Zaire' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the maximal elevation of the summit of the shortest mountain that can be found in the island of Madagaskar? Indicate what type of mountain it is. | SELECT T3.Height, T3.Type FROM island AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Island INNER JOIN mountain AS T3 ON T3.Name = T2.Mountain WHERE T1.Name = 'Madagaskar' ORDER BY T3.Height DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which nation, with a population ranging from 60,000,000 to 99,000,000, has the greatest gross domestic product? | SELECT T1.Name, T2.GDP FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Population BETWEEN 60000000 AND 90000000 ORDER BY T2.GDP DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Which Asian country gave its agricultural sector the largest share of its gross domestic product? | SELECT T2.Country FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T2.Country = T3.Code INNER JOIN economy AS T4 ON T4.Country = T3.Code WHERE T1.Name = 'Asia' ORDER BY T4.Agriculture DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What form of governance does the least prosperous nation in the world have? | SELECT T3.Government FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country WHERE T2.GDP IS NOT NULL ORDER BY T2.GDP ASC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What year saw the greatest number of organizations created on the European continent? | SELECT STRFTIME('%Y', T4.Established) FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T2.Country = T3.Code INNER JOIN organization AS T4 ON T4.Country = T3.Code WHERE T1.Name = 'Europe' GROUP BY STRFTIME('%Y', T4.Established) ORDER BY COUNT(T4.Name) DESC LIMIT 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What other country does the most populated nation in the world share a border with and how long is the border between the two nations? | SELECT T2.Country2, T2.Length FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 WHERE T1.Name = ( SELECT Name FROM country ORDER BY Population DESC LIMIT 1 ) | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the population density of the nation whose capital city is in the Distrito Federal province, and what portion of its gross domestic product is devoted to its industries? | SELECT T1.Population / T1.Area, T2.Industry FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Province = 'Distrito Federal' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Lists all governments with a parliamentary democracy that achieved their independence between 01/01/1950 and 12/31/1999. | SELECT * FROM politics WHERE STRFTIME('%Y', Independence) BETWEEN '1950' AND '1999' AND Government = 'parliamentary democracy' | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What percentage of countries became independent during the year 1960? | SELECT CAST(SUM(CASE WHEN STRFTIME('%Y', Independence) = '1960' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(Country) FROM politics | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | List all deserts that are not between latitudes 30 and 40. | SELECT Name FROM desert WHERE Latitude < 30 OR Latitude > 40 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | Indicate the coordinates of all the deserts whose area is in more than one country. | SELECT T1.Latitude, T1.Longitude FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert GROUP BY T1.Name, T1.Latitude, T1.Longitude HAVING COUNT(T1.Name) > 1 | bird |
CREATE TABLE mondial_geo (Country1 text, Country2 text, Length real, Name text, Country text, Province text, Population integer, Longitude real, Latitude real, Name text, Area real, Name text, Code text, Capital text, Province text, Area real, Population integer, Name text, Area real, Longitude real, Latitude real, Country text, GDP real, Agriculture real, Service real, Industry real, Inflation real, Country text, Continent text, Percentage real, Country text, Name text, Percentage real, Desert text, Country text, Province text, River text, Country text, Province text, Island text, Country text, Province text, Lake text, Country text, Province text, Mountain text, Country text, Province text, River text, Country text, Province text, Sea text, Country text, Province text, River text, Country text, Province text, Name text, Islands text, Area real, Height real, Type text, Longitude real, Latitude real, Island text, Sea text, Lake text, River text, Country text, Organization text, Type text, Name text, Area real, Depth real, Altitude real, Type text, River text, Longitude real, Latitude real, Country text, Name text, Percentage real, City text, Province text, Country text, River text, Lake text, Sea text, City text, Province text, Country text, Island text, Sea1 text, Sea2 text, Name text, Mountains text, Height real, Type text, Longitude real, Latitude real, Mountain text, Island text, Abbreviation text, Name text, City text, Country text, Province text, Established date, Country text, Independence date, Dependent text, Government text, Country text, Population_Growth real, Infant_Mortality real, Name text, Country text, Population integer, Area real, Capital text, CapProv text, Country text, Name text, Percentage real, Name text, River text, Lake text, Sea text, Length real, SourceLongitude real, SourceLatitude real, Mountains text, SourceAltitude real, EstuaryLongitude real, EstuaryLatitude real, Name text, Depth real, Country text, Target text) | What is the provincial capital of the province with a population of less than 80,000 that has the highest average population per area? | SELECT CapProv FROM province WHERE Population < 80000 ORDER BY Population / Area DESC LIMIT 1 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | How many customers have never married? | SELECT COUNT(ID) FROM Customers WHERE MARITAL_STATUS = 'Never-married' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Among all the customers, how many of them are teenagers? | SELECT COUNT(ID) FROM Customers WHERE age >= 13 AND age <= 19 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Please list the occupations of the customers with an education level of 11. | SELECT DISTINCT OCCUPATION FROM Customers WHERE EDUCATIONNUM = 11 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Of the first 60,000 customers' responses to the incentive mailing sent by the marketing department, how many of them are considered a true response? | SELECT COUNT(REFID) custmoer_number FROM Mailings1_2 WHERE RESPONSE = 'true' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Among the customers over 30, how many of them are Machine-op-inspcts? | SELECT COUNT(ID) FROM Customers WHERE OCCUPATION = 'Machine-op-inspct' AND age > 30 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | How many female customers have an education level of over 11? | SELECT COUNT(ID) FROM Customers WHERE EDUCATIONNUM > 11 AND SEX = 'Female' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Of the first 60,000 customers who sent a true response to the incentive mailing sent by the marketing department, how many of them are female? | SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Mailings1_2 AS T2 ON T1.ID = T2.REFID WHERE T1.SEX = 'Female' AND T2.RESPONSE = 'true' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Please list the occupations of the customers over 40 and have sent a true response to the incentive mailing sent by the marketing department. | SELECT DISTINCT T1.OCCUPATION FROM Customers AS T1 INNER JOIN Mailings1_2 AS T2 ON T1.ID = T2.REFID WHERE T1.age > 40 AND T2.RESPONSE = 'true' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Among the male customers, how many of them come from a place with over 30,000 inhabitants? | SELECT COUNT(T1.GEOID) FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID WHERE T1.SEX = 'Male' AND T2.INHABITANTS_K > 30 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | How many customers are from the place with the highest average income per month? | SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID ORDER BY T2.INCOME_K DESC LIMIT 1 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Among the customers from a place with more than 20,000 and less than 30,000 inhabitants, how many of them are Machine-op-inspcts? | SELECT COUNT(T1.GEOID) FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID WHERE T1.OCCUPATION = 'Machine-op-inspct' AND T2.INHABITANTS_K > 20 AND T2.INHABITANTS_K < 30 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Which customer come from a place with more inhabitants, customer no.0 or customer no.1? | SELECT T1.ID FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID WHERE T1.ID = 0 OR T1.ID = 1 ORDER BY INHABITANTS_K DESC LIMIT 1 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Of the first 60,000 customers who sent a true response to the incentive mailing sent by the marketing department, how many of them are from a place with more than 30,000 inhabitants? | SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Mailings1_2 AS T2 ON T1.ID = T2.REFID INNER JOIN Demog AS T3 ON T1.GEOID = T3.GEOID WHERE T3.INHABITANTS_K > 30 AND T2.RESPONSE = 'true' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | Of the first 60,000 customers who sent a true response to the incentive mailing sent by the marketing department, how many of them are divorced males? | SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Mailings1_2 AS T2 ON T1.ID = T2.REFID WHERE T1.SEX = 'Male' AND T1.MARITAL_STATUS = 'Divorced' AND T2.RESPONSE = 'true' | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | How many of the first 60,000 customers from the place with the highest average income per month have sent a true response to the incentive mailing sent by the marketing department? | SELECT COUNT(T1.ID) FROM Customers AS T1 INNER JOIN Mailings1_2 AS T2 ON T1.ID = T2.REFID INNER JOIN Demog AS T3 ON T1.GEOID = T3.GEOID WHERE T2.RESPONSE = 'true' ORDER BY T3.INCOME_K DESC LIMIT 1 | bird |
CREATE TABLE software_company (GEOID integer, INHABITANTS_K real, INCOME_K real, A_VAR1 real, A_VAR2 real, A_VAR3 real, A_VAR4 real, A_VAR5 real, A_VAR6 real, A_VAR7 real, A_VAR8 real, A_VAR9 real, A_VAR10 real, A_VAR11 real, A_VAR12 real, A_VAR13 real, A_VAR14 real, A_VAR15 real, A_VAR16 real, A_VAR17 real, A_VAR18 real, REFID integer, REF_DATE datetime, RESPONSE text, ID integer, SEX text, MARITAL_STATUS text, GEOID integer, EDUCATIONNUM integer, OCCUPATION text, age integer, REFID integer, REF_DATE datetime, RESPONSE text, EVENTID integer, REFID integer, EVENT_DATE datetime, AMOUNT real) | What is the number of inhabitants of the place the most customers are from? | SELECT DISTINCT T2.INHABITANTS_K FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID ORDER BY T2.INHABITANTS_K DESC | bird |
Subsets and Splits