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)
List all the coral islands along with its city and province.
SELECT City, Province FROM locatedOn WHERE Island IN ( SELECT Name FROM island WHERE Type = 'coral' )
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 for all cities location at Baltic Sea?
SELECT AVG(T1.Population) FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN sea AS T3 ON T3.Name = T2.Sea WHERE T3.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)
Calculate the percentage of population in Edmonton city to the population of its province.
SELECT CAST(T1.Population AS REAL) * 100 / T2.Population FROM city AS T1 INNER JOIN province AS T2 ON T1.Province = T2.Name WHERE T1.Name = 'Edmonton'
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 are the rivers that flows to Black Sea?
SELECT Name FROM river WHERE Sea = 'Black 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)
State the name of the lake in Albania province and in which city does it located at.
SELECT Lake, City FROM located WHERE Province = 'Albania' AND Lake IS NOT NULL
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 tallest mountain on Himalaya and what is its height.
SELECT Name, Height FROM mountain WHERE Mountains = 'Himalaya' 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)
List all the mountains that are volcanic along with its longitude and latitude.
SELECT Name, Latitude, Longitude FROM mountain WHERE 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)
Name all the volcano mountains between the height of 2000 to 4000.
SELECT Name FROM mountain WHERE Type = 'volcano' AND Height BETWEEN 2000 AND 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)
Please state the longest river that flows to the Mediterranean Sea.
SELECT Name FROM river WHERE Sea = 'Mediterranean Sea' 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)
How many percent of the mountains on Andes which are non-volcanic?
SELECT CAST(SUM(CASE WHEN type != 'volcano' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM mountain WHERE Mountains = 'Andes'
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 cities and provinces located at the rivers that flows to Atlantic Ocean.
SELECT T1.Name, 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.Sea = 'Atlantic Ocean'
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 and length of rivers located at 'Orleans' city?
SELECT T3.Name, T3.Length 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 T1.Name = 'Orleans'
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 the mountain on which river 'Lech' is located? Please also provide its longitude and latitude.
SELECT T1.Height, T1.Latitude, T1.Longitude 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 located AS T4 ON T4.Province = T3.Name WHERE T4.River = 'Lech'
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 river of which Lorraine is on. Please name the mountains where to source flow from?
SELECT T1.SourceLongitude, T1.SourceLatitude, T1.SourceAltitude FROM river AS T1 INNER JOIN geo_river AS T2 ON T2.River = T1.Name WHERE T2.Province = 'Lorraine'
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 mountain does the river source Blue Nile located? State the height of the mountain.
SELECT T1.Name, T1.Height 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 geo_source AS T4 ON T4.Province = T3.Name WHERE T4.River = 'Blue Nile'
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 river at Little Rock city. State the length of the river.
SELECT T3.Length 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 T1.Name = 'Little Rock'
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 rivers and province it is located that is greater than 1000 in length.
SELECT T1.Province, T2.Name FROM geo_river AS T1 INNER JOIN river AS T2 ON T1.River = T2.Name WHERE T2.Length > 1000
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 province and country does Moldoveanu located? State its height.
SELECT T2.Province, T2.Country, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T1.Name = 'Moldoveanu'
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 all rivers name and length in USA.
SELECT DISTINCT T3.Name, T3.Length 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 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 average height of all mountains in Nepal?
SELECT AVG(T1.Height) FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T2.Province = 'Nepal'
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 all cities where Seine is located at, which city has the greatest population? Calculate the difference from the city with least population.
SELECT MAX(T1.Population) - MIN(T1.population) 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 = 'Seine'
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 are the 2 rivers located at Belgrade city? Which river is longer and how by much?
SELECT T1.Name, T1.Length FROM river AS T1 INNER JOIN located AS T2 ON T1.Name = T2.River INNER JOIN city AS T3 ON T3.Name = T2.City WHERE T3.Name = 'Belgrade'
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 100% Spanish-speaking population?
SELECT Country FROM language WHERE Name = 'Spanish' AND 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)
Which countries are dependent on the British Crown?
SELECT Country FROM politics WHERE Government = 'British crown dependency'
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 names of the rivers in Canada?
SELECT DISTINCT T1.River FROM located AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'Canada' AND T1.River IS NOT NULL
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 whose citizens have the lowest purchasing power?
SELECT T2.Name FROM economy AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Inflation 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 province does the 4th most populous city in the United Kingdom belong to, and how many people live there?
SELECT T1.Province, T1.Population FROM city AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'United Kingdom' ORDER BY T1.Population DESC LIMIT 3, 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 many Jewish residents are there in Moldova?
SELECT T2.Percentage * T1.Population FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Moldova' AND T2.Name = 'Jewish'
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 area of Asian countries?
SELECT AVG(Area) FROM country AS T1 INNER JOIN encompasses AS T2 ON T1.Code = T2.Country WHERE T2.Continent = 'Asia'
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 is home to the world's tiniest desert, and what are its longitude and latitude?
SELECT T2.Country, T1.Latitude, T1.Longitude FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert WHERE T1.Name = ( SELECT Name FROM desert ORDER BY 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)
How many people in Montenegro speaks Serbian?
SELECT T1.Percentage * T2.Population FROM language AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Name = 'Serbian' AND T2.Name = 'Montenegro'
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 mountains are there in the country with the most land area?
SELECT COUNT(Mountain) FROM geo_mountain WHERE Country = ( SELECT Code FROM country ORDER BY 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)
Which sea is the shallowest and which country surrounds it?
SELECT DISTINCT T2.Name FROM located AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE Sea = ( SELECT Name FROM sea ORDER BY Depth 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 nation's GDP is the lowest among those that are communist states?
SELECT T2.Country FROM politics AS T1 INNER JOIN economy AS T2 ON T1.Country = T2.Country WHERE T1.Government = 'Communist state' 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 kind of political system is in place in the country with the highest inflation rate?
SELECT T1.Government FROM politics AS T1 INNER JOIN economy AS T2 ON T1.Country = T2.Country ORDER BY T2.Inflation 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 greatest infant mortality rate among those that attained independence in 1960?
SELECT T1.Country FROM politics AS T1 INNER JOIN population AS T2 ON T1.Country = T2.Country WHERE STRFTIME('%Y', T1.Independence) = '1960' 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)
What is the smallest border's length, and what form of government do the two nations bordering it have?
SELECT T1.Government, T3.Government FROM politics AS T1 INNER JOIN borders AS T2 ON T1.Country = T2.Country1 INNER JOIN politics AS T3 ON T3.Country = T2.Country2 ORDER BY T2.Length 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 Arabic-speaking country has the smallest population?
SELECT T1.Name FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Arabic' AND T2.Percentage = 100 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)
What provinces encompass the world's biggest desert in terms of overall area?
SELECT Province FROM geo_desert WHERE Desert = ( SELECT Name FROM desert ORDER BY 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)
How many lakes are there in the 4th most populous African country with a republican form of government?
SELECT COUNT(*) FROM geo_lake WHERE Country = ( SELECT T4.Code FROM ( SELECT T2.Code, T2.Population FROM encompasses AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code INNER JOIN politics AS T3 ON T1.Country = T3.Country WHERE T1.Continent = 'Africa' AND T1.Percentage = 100 AND T3.Government = 'republic' ORDER BY Population DESC LIMIT 4 ) AS T4 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)
Which religion is most prevalent in Asia?
SELECT T4.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 INNER JOIN religion AS T4 ON T4.Country = T3.Code WHERE T1.Name = 'Asia' GROUP BY T4.Name ORDER BY SUM(T4.Percentage) 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 difference in population between the two nations where the tallest peak is located?
SELECT * FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Country = T2.Country INNER JOIN country AS T4 ON T4.Code = T3.Country WHERE T1.Name = ( SELECT Name FROM mountain 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 are the names of the sea that can be found on the island with the biggest area?
SELECT T2.Name FROM islandIn AS T1 INNER JOIN sea AS T2 ON T2.Name = T1.Sea WHERE T1.Island = ( SELECT Name FROM island ORDER BY 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 are the names of the three nations where the longest river that empties into the Atlantic Ocean stretches to?
SELECT DISTINCT T1.Country 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 = ( SELECT Name FROM river WHERE Sea = 'Atlantic Ocean' 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)
How many people reside in the nation's capital city, which is situated in the nation that attained independence on 8/15/1947?
SELECT T3.Population FROM politics AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code INNER JOIN city AS T3 ON T3.Name = T2.Capital WHERE T1.Independence = '1947-08-15'
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 total number of Afro-Asian people in the most populous Asian country governed by a monarchy?
SELECT T5.Percentage * T6.Population FROM ethnicGroup AS T5 INNER JOIN country AS T6 ON T5.Country = T6.Code WHERE Country = ( SELECT T3.Code FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN politics AS T4 ON T4.Country = T3.Code WHERE T4.Government = 'monarchy' AND T1.Name = 'Asia' ORDER BY T3.Population DESC LIMIT 1 ) AND T5.Name = 'Afro-Asian'
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 names of the cities along the Euphrat River's course? Indicate the capital city of the nation where the Euphrat River flows.
SELECT T2.City, T1.Capital FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Euphrat'
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 proportion of English-speaking citizens in the countries that rely on the United States compared to the total number of citizens in those countries?
SELECT T2.Percentage * T1.Population FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country WHERE T3.Dependent = 'USA' AND T2.Name = 'English'
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 federal republic country in Europe has the most provinces, and what proportion of GDP is devoted to services? Calculate the population density as well.
SELECT T1.Country, T2.Service , SUM(T1.Population) / SUM(T1.Area) FROM province AS T1 INNER JOIN economy AS T2 ON T1.Country = T2.Country WHERE T1.Country IN ( SELECT Country FROM encompasses WHERE Continent = 'Europe' ) GROUP BY T1.Country, T2.Service 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 is the capital of the 3rd most populated country in Asia and what is the capital city's ratio in percentage (%) against the overall population of the country?
SELECT T4.Capital, CAST(T3.Population AS REAL) * 100 / T4.Population FROM city AS T3 INNER JOIN ( SELECT T1.Capital , T1.Population FROM country AS T1 INNER JOIN encompasses AS T2 ON T1.Code = T2.Country WHERE T2.Continent = 'Asia' ORDER BY T1.Population DESC LIMIT 2, 1 ) AS T4 ON T3.Name = T4.Capital
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's the name of the second biggest desert?
SELECT Name FROM desert ORDER BY Area DESC LIMIT 1, 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 main spoken language in MNE?
SELECT Name FROM language WHERE Country = 'MNE' ORDER BY Percentage 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's the percentage of people in Cayman Islands speak English?
SELECT T1.Percentage FROM language AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'Cayman Islands' AND T1.Name = 'English'
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 was the source of Pjandsh River? Give the full name of the country.
SELECT T1.Name FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country WHERE T2.River = 'Pjandsh'
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 the countries have the population north of a billion, which one has the lowest GDP? Give the full name of the country.
SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Population > 1000000000 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 is the capital of the country that has the Licancabur Mountain?
SELECT T4.Capital 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 T4.Province = T3.Name WHERE T1.Name = 'Licancabur'
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 sea is around the island where Kerinci Mountain is located?
SELECT COUNT(T4.Sea) FROM mountain AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Mountain INNER JOIN island AS T3 ON T3.Name = T2.Island INNER JOIN islandIn AS T4 ON T4.Island = T3.Name WHERE T1.Name = 'Kerinci'
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 three countries does the Amazonas flow through? Give the full name of the countries.
SELECT DISTINCT T4.Name FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River INNER JOIN country AS T4 ON T4.Code = T2.Country WHERE T3.Name = 'Amazonas'
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 became independent on 1492-01-01? Give the full name of the country.
SELECT T1.Name FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T2.Independence = '1492-01-01'
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 cities in France have a population of more than 100,000?
SELECT COUNT(T2.Name) FROM country AS T1 INNER JOIN city AS T2 ON T2.Country = T1.Code WHERE T1.Name = 'France' AND T2.Population > 100000
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 all the rivers finally flows to the sea of 540m in depth, which one has the longest length?
SELECT T2.Name FROM sea AS T1 INNER JOIN river AS T2 ON T2.Sea = T1.Name WHERE T1.Depth = 540 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)
In which Country is the second highest volcanic mountain located in? Give the code of the country.
SELECT T3.Country 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 ORDER BY T1.Height DESC LIMIT 1, 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 longitude of the island on which Mount Olympos is located?
SELECT T3.Longitude FROM mountain AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Mountain INNER JOIN island AS T3 ON T3.Name = T2.Island WHERE T1.Name = 'Olympos'
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 all the countries that is smaller than 100 square kilometres, which one has the most GDP?
SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Area < 100 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)
What is the total number of cities that Japan have?
SELECT COUNT(T3.Name) FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T1.Name = 'Japan'
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 city has most population other than its capital in Bangladesh?
SELECT T3.Name FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T1.Name = 'Bangladesh' AND T3.Name <> T1.Capital 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)
Which non capital city has the most people of all?
SELECT T3.Name FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name <> T1.Capital 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)
In which country is the city of Grozny? Give the full name of the country.
SELECT T1.Name FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name = 'Grozny'
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 religion has the majority of the people in Japan?
SELECT T2.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Japan' ORDER BY T2.Percentage 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 countries have the border in length of 803 km? Give the full names of the countries.
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 WHERE T2.Length = 803
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 percent of the total area of Russia is in Europe?
SELECT T2.Percentage 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 T3.Name = 'Russia' AND T1.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)
Give the full names of the countries that are located in more than one continent.
SELECT 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 GROUP BY T3.Name HAVING COUNT(T3.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)
How many people are there in Fareham's mother country?
SELECT T1.Population FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name = 'Fareham'
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's the number of infant mortality in Switzerland in a year?
SELECT T2.Infant_Mortality * T1.Population * T2.Population_Growth FROM country AS T1 INNER JOIN population AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Switzerland'
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 mountains are there in the United States?
SELECT COUNT(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 INNER JOIN country AS T4 ON T4.Province = T3.Name WHERE T4.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)
When did Equatorial Guinea become independent?
SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Equatorial Guinea'
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 GDP per capita in Switzerland?
SELECT T2.GDP / T1.Population FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Switzerland'
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 GDP for Service of the country with Fuenlabrada as its city.
SELECT T4.Service * T4.GDP FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name INNER JOIN economy AS T4 ON T4.Country = T2.Country WHERE T3.Name = 'Fuenlabrada'
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 times longer is the longest river in Tajikistan than the shortest river?
SELECT MAX(T2.Length) / MIN(T2.Length) FROM located AS T1 INNER JOIN river AS T2 ON T1.River = T2.Name WHERE T1.Country = 'TJ'
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 Hanoi's home country?
SELECT T1.Population / T1.Area FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name = 'Hanoi'
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 countries where there is more than one ethnic group, name the ethnic group with the greatest presence in each country and the country to which it corresponds.
SELECT Country, Name FROM ethnicGroup AS T1 WHERE Percentage < 100 AND Percentage = ( SELECT MAX(Percentage) FROM ethnicGroup AS T2 WHERE T1.Country = 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)
How many deserts are not located in a single country? Name them.
SELECT Desert FROM geo_desert GROUP BY Desert HAVING COUNT(DISTINCT Country) > 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 many rivers belong to more than one country? Name the provinces where we can find them.
SELECT River, GROUP_CONCAT(Province) FROM geo_river GROUP BY River HAVING COUNT(DISTINCT Country) > 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 percentage of the border does Angola share with each of the countries with which it borders?
SELECT SUM(CASE WHEN T2.Name = 'Angola' THEN T1.Length ELSE 0 END) * 100 / SUM(T1.Length) FROM borders AS T1 LEFT JOIN country AS T2 ON T1.Country1 = T2.Code
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 percent of the non volcanic islands in the Lesser Antilles group of islands have an area of no more than 300 square kilometers?
SELECT SUM(CASE WHEN Area <= 300 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM island WHERE Islands = 'Lesser Antilles' AND (Type != 'volcanic' OR Type IS NULL)
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)
Of all the countries in which English is spoken, what percentage has English as their only language?
SELECT CAST(SUM(CASE WHEN T2.Percentage = 100 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.Name) FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'English'
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 of the capitals of the countries that have less than 99.95% less population than the country that has the most population.
SELECT Capital FROM country WHERE Population <= ( SELECT MAX(Population) - MAX(Population) * 0.9995 FROM 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)
Average length of the rivers flowing into the Donau River.
SELECT * FROM river WHERE Name = 'Donau'
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)
Based on the data shown at Target, what percentage of countries are non-Christian?
SELECT 100 - (CAST(SUM(CASE WHEN Target = 'Christian' THEN 1 ELSE 0 END) AS REAL)) * 100 / COUNT(Country) FROM target
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 with a city with a population between 50,000 and 300,000 inhabitants and which is a member of an organization established between 03/01/1991 and 04/30/1991 is also a member of the EBRD?
SELECT T2.Country FROM country AS T1 INNER JOIN isMember AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country INNER JOIN city AS T4 ON T4.Country = T3.Country WHERE T3.Abbreviation = 'EBRD' AND T4.Population BETWEEN 50000 AND 300000 AND T3.Established BETWEEN '1991-01-31' AND '1991-04-30'
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 river with its mouth in the Donau River and a length greater than 500 km is located in Slovenia?
SELECT T2.River FROM country AS T1 INNER JOIN geo_river AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Slovenia' AND T2.River IN ( SELECT NAME FROM river WHERE Length > 500 AND River = 'Donau' )
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 sea whose depth is 4232 meters less than that of the Bay of Bengal?
SELECT T2.City FROM sea AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Sea INNER JOIN city AS T3 ON T3.Name = T2.City WHERE ( SELECT Depth FROM sea WHERE Name LIKE '%Bengal%' ) - T1.Depth = 4235
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 lake located at coordinates longitude -85.35 and latitude 11.6?
SELECT T2.City 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 city AS T4 ON T4.Province = T3.Name WHERE T1.Longitude = -85.35 AND T1.Latitude = 11.6
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 which continent is the country with the most erosion of real income?
SELECT T1.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 INNER JOIN economy AS T4 ON T4.Country = T3.Code ORDER BY T4.Inflation 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 Asian countries share a border that is 1,782 kilometers long?
SELECT T4.Country1, T4.Country2 FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN borders AS T4 ON T4.Country1 = T3.Code WHERE T1.Name = 'Asia' AND T4.Length = 1782
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)
Of all the lakes in Bolivia, which is the deepest?
SELECT T1.Name FROM lake AS T1 INNER JOIN geo_lake 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 = 'Bolivia' ORDER BY T1.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)
In which lake flows the river that is, in turn, the mouth of the Manicouagan River?
SELECT NAME FROM lake WHERE river = ( SELECT river FROM river WHERE NAME = 'Manicouagan' )
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 group of islands is Rinjani Mountain located?
SELECT T1.Islands 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 T3.Name = 'Rinjani'
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 seas with which the deepest sea merges.
SELECT T2.Sea2 FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = ( SELECT Name FROM sea ORDER BY 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)
Of all the countries that share territory with more than one continent, in which of them does the average population not exceed 10 inhabitants per square kilometer?
SELECT NAME FROM country WHERE CODE IN ( SELECT country FROM encompasses GROUP BY country HAVING COUNT(continent) > 1 ) AND population / Area <= 10
bird