db_id
stringlengths
4
31
SQL
stringlengths
18
1.45k
input_sequence
stringlengths
148
11k
question
stringlengths
16
325
mondial_geo
select mountain from geo_mountain where country = ( select country from economy order by inflation asc limit 1 )
Question: please list the mountains in the country with the lowest inflation rate. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Lati...
please list the mountains in the country with the lowest inflation rate.
mondial_geo
select count(t3.desert) from country as t1 inner join politics as t2 on t1.code = t2.country inner join geo_desert as t3 on t3.country = t2.country where t2.government = 'republic'
Question: among the independent countries whose type of government is republic, what is the biggest number of deserts they have? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Pop...
among the independent countries whose type of government is republic, what is the biggest number of deserts they have?
mondial_geo
select t2.desert from country as t1 inner join geo_desert as t2 on t1.code = t2.country where t1.area > 100000 and t1.population < 500000
Question: please list the deserts in the countries whose population is over 100000 and covers an area of under 500000. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. d...
please list the deserts in the countries whose population is over 100000 and covers an area of under 500000.
mondial_geo
select count(t2.desert) from country as t1 inner join geo_desert as t2 on t1.code = t2.country inner join language as t3 on t1.code = t2.country where t3.name = 'armenian' and t3.percentage > 90
Question: how many deserts are there in a country where over 90% of people speaks armenian? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longit...
how many deserts are there in a country where over 90% of people speaks armenian?
mondial_geo
select t4.name from country as t1 inner join politics as t2 on t1.code = t2.country inner join geo_mountain as t3 on t3.country = t2.country inner join mountain as t4 on t4.name = t3.mountain where t2.independence is not null order by t4.height desc limit 1
Question: which mountain is the highest in an independent country? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy ->...
which mountain is the highest in an independent country?
mondial_geo
select count(distinct t3.name) from country as t1 inner join geo_mountain as t2 on t1.code = t2.country inner join mountain as t3 on t3.name = t2.mountain where t3.type = 'volcanic' and t1.population <= 5000000
Question: how many volcanic mountains are there in countries whose population is no more than 5000000? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, A...
how many volcanic mountains are there in countries whose population is no more than 5000000?
mondial_geo
select count(distinct t1.name) from country as t1 inner join geo_mountain as t2 on t1.code = t2.country inner join economy as t3 on t3.country = t1.code inner join mountain as t4 on t4.name = t2.mountain where t3.gdp > 1000000 and t4.height > 1000
Question: among the countries with a gdp of over 1000000, how many of them have mountains higher than 1000? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Na...
among the countries with a gdp of over 1000000, how many of them have mountains higher than 1000?
mondial_geo
select max(t3.length) from country as t1 inner join politics as t2 on t1.code = t2.country inner join borders as t3 on t3.country1 = t2.country where t2.independence is not null
Question: what is the greatest length of the border between 2 independent countries? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, La...
what is the greatest length of the border between 2 independent countries?
mondial_geo
select count(distinct t1.name) from country as t1 inner join politics as t2 on t1.code = t2.country inner join borders as t3 on t3.country1 = t2.country where t2.government = 'republic' and t3.length > 200
Question: among the countries whose government type is republic, how many of them shares a border that's longer than 200? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population...
among the countries whose government type is republic, how many of them shares a border that's longer than 200?
mondial_geo
select t1.name from country as t1 inner join borders as t2 on t1.code = t2.country1 order by t2.length asc limit 1
Question: please list the countries that share the shortest border. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -...
please list the countries that share the shortest border.
mondial_geo
select sum(t4.gdp) from country as t1 inner join encompasses as t2 on t1.code = t2.country inner join continent as t3 on t3.name = t2.continent inner join economy as t4 on t4.country = t1.code where t3.name = 'europe'
Question: what is the gdp of the european continent? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GDP,...
what is the gdp of the european continent?
mondial_geo
select count(t3.name) from country as t1 inner join encompasses as t2 on t1.code = t2.country inner join continent as t3 on t3.name = t2.continent inner join province as t4 on t4.country = t1.code inner join geo_mountain as t5 on t5.province = t4.name where t3.name = 'european'
Question: how many mountains are there on the african continent? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> C...
how many mountains are there on the african continent?
mondial_geo
select t5.name from country as t1 inner join encompasses as t2 on t1.code = t2.country inner join continent as t3 on t3.name = t2.continent inner join geo_desert as t4 on t4.country = t1.code inner join desert as t5 on t5.name = t4.desert where t3.name = 'america' order by t5.area desc limit 1
Question: of the deserts on the america continent, which one covers the greatest area? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, ...
of the deserts on the america continent, which one covers the greatest area?
mondial_geo
select t2.country from country as t1 inner join encompasses as t2 on t1.code = t2.country inner join continent as t3 on t3.name = t2.continent inner join population as t4 on t4.country = t1.code where t3.name = 'europe' and t4.population_growth > 0.03
Question: please list the countries on the european continent that have a population growth of more than 3%. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> N...
please list the countries on the european continent that have a population growth of more than 3%.
mondial_geo
select count(t1.name) from country as t1 inner join encompasses as t2 on t1.code = t2.country inner join continent as t3 on t3.name = t2.continent inner join population as t4 on t4.country = t1.code where t3.name = 'europe' and t4.infant_mortality < 100
Question: how many countries on the european continent has an infant mortality rate per thousand of over 100? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> ...
how many countries on the european continent has an infant mortality rate per thousand of over 100?
mondial_geo
select count(distinct t1.name) from country as t1 inner join language as t2 on t1.code = t2.country inner join population as t3 on t3.country = t2.country where t2.name = 'bosnian' and t3.population_growth < 0
Question: among the countries that use bosnian as their language, how many of them don't have a positive population growth rate? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Pop...
among the countries that use bosnian as their language, how many of them don't have a positive population growth rate?
mondial_geo
select avg(t4.agriculture) 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 where t1.name = 'africa'
Question: what is the average percentage of agriculture of gdp in countries on the african continent? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Ar...
what is the average percentage of agriculture of gdp in countries on the african continent?
mondial_geo
select count(distinct t1.name) from country as t1 inner join politics as t2 on t1.code = t2.country inner join economy as t3 on t3.country = t2.country where t2.independence is not null and t3.gdp > 5000
Question: among the independent countries, how many of them has a gdp per capita of over 5000? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Lon...
among the independent countries, how many of them has a gdp per capita of over 5000?
mondial_geo
select avg(t4.inflation) 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 where t1.name = ( select name from continent order by area desc limit 1 )
Question: what is the average inflation rate of the biggest continent? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. econom...
what is the average inflation rate of the biggest continent?
mondial_geo
select t3.name, t3.area from city as t1 inner join locatedon as t2 on t1.name = t2.city inner join island as t3 on t3.name = t2.island where t1.name = 'balikpapan'
Question: which island is city balikpapan located on? how big is the island? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ...
which island is city balikpapan located on? how big is the island?
mondial_geo
select t1.name, t1.population from city as t1 inner join locatedon as t2 on t1.name = t2.city inner join island as t3 on t3.name = t2.island where t3.name = 'sumatra'
Question: list all the cities in sumatra and state the population of each city. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitud...
list all the cities in sumatra and state the population of each city.
mondial_geo
select distinct t3.longitude, t3.latitude from city as t1 inner join locatedon as t2 on t1.name = t2.city inner join island as t3 on t3.name = t2.island where t1.province = 'south yorkshire'
Question: on which island does south yorkshire situated? state it's longtitude and latitude. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longi...
on which island does south yorkshire situated? state it's longtitude and latitude.
mondial_geo
select distinct name from island where area > ( select distinct t3.area from city as t1 inner join locatedon as t2 on t1.name = t2.city inner join island as t3 on t3.name = t2.island where t1.province = 'warwickshire' )
Question: list all islands that are greater than the island on which warwickshire is located. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Long...
list all islands that are greater than the island on which warwickshire is located.
mondial_geo
select distinct t3.name, t1.name from city as t1 inner join locatedon as t2 on t1.name = t2.city inner join island as t3 on t3.name = t2.island where t3.area < 200
Question: for island area less than 200, list the island name and city it belongs to. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, L...
for island area less than 200, list the island name and city it belongs to.
mondial_geo
select t2.province, t1.capital from province as t1 inner join city as t2 on t1.name = t2.province and t1.country = t2.country where t2.name = 'glenrothes'
Question: in which province is city glenrothes located? what is the capital of the province? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longi...
in which province is city glenrothes located? what is the capital of the province?
mondial_geo
select t1.name, t1.population from city as t1 inner join province as t2 on t2.name = t1.province where t2.population > 1000000
Question: list the all the cities and its city population for provinces with population more than 1000000. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Nam...
list the all the cities and its city population for provinces with population more than 1000000.
mondial_geo
select city, province from locatedon where island in ( select name from island where type = 'coral' )
Question: list all the coral islands along with its city and province. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. econom...
list all the coral islands along with its city and province.
mondial_geo
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'
Question: what is the average population for all cities location at baltic sea? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitud...
what is the average population for all cities location at baltic sea?
mondial_geo
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'
Question: calculate the percentage of population in edmonton city to the population of its province. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Are...
calculate the percentage of population in edmonton city to the population of its province.
mondial_geo
select name from river where sea = 'black sea'
Question: which are the rivers that flows to black sea? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, G...
which are the rivers that flows to black sea?
mondial_geo
select lake, city from located where province = 'albania' and lake is not null
Question: state the name of the lake in albania province and in which city does it located at. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Lon...
state the name of the lake in albania province and in which city does it located at.
mondial_geo
select name, height from mountain where mountains = 'himalaya' order by height desc limit 1
Question: name the tallest mountain on himalaya and what is its height. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. econo...
name the tallest mountain on himalaya and what is its height.
mondial_geo
select name, latitude, longitude from mountain where type = 'volcano'
Question: list all the mountains that are volcanic along with its longitude and latitude. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitud...
list all the mountains that are volcanic along with its longitude and latitude.
mondial_geo
select name from mountain where type = 'volcano' and height between 2000 and 4000
Question: name all the volcano mountains between the height of 2000 to 4000. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ...
name all the volcano mountains between the height of 2000 to 4000.
mondial_geo
select name from river where sea = 'mediterranean sea' order by length desc limit 1
Question: please state the longest river that flows to the mediterranean sea. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude....
please state the longest river that flows to the mediterranean sea.
mondial_geo
select cast(sum(case when type != 'volcano' then 1 else 0 end) as real) * 100 / count(*) from mountain where mountains = 'andes'
Question: how many percent of the mountains on andes which are non-volcanic? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ...
how many percent of the mountains on andes which are non-volcanic?
mondial_geo
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'
Question: list all the cities and provinces located at the rivers that flows to atlantic ocean. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Lo...
list all the cities and provinces located at the rivers that flows to atlantic ocean.
mondial_geo
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'
Question: what is the name and length of rivers located at 'orleans' city? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ec...
what is the name and length of rivers located at 'orleans' city?
mondial_geo
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'
Question: what is the height of the mountain on which river 'lech' is located? please also provide its longitude and latitude. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Popul...
what is the height of the mountain on which river 'lech' is located? please also provide its longitude and latitude.
mondial_geo
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'
Question: name the river of which lorraine is on. please name the mountains where to source flow from? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, A...
name the river of which lorraine is on. please name the mountains where to source flow from?
mondial_geo
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'
Question: which mountain does the river source blue nile located? state the height of the mountain. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area...
which mountain does the river source blue nile located? state the height of the mountain.
mondial_geo
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'
Question: name the river at little rock city. state the length of the river. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ...
name the river at little rock city. state the length of the river.
mondial_geo
select t1.province, t2.name from geo_river as t1 inner join river as t2 on t1.river = t2.name where t2.length > 1000
Question: list all rivers and province it is located that is greater than 1000 in length. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitud...
list all rivers and province it is located that is greater than 1000 in length.
mondial_geo
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'
Question: in which province and country does moldoveanu located? state its height. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Lati...
in which province and country does moldoveanu located? state its height.
mondial_geo
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'
Question: provide all rivers name and length in usa. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GDP,...
provide all rivers name and length in usa.
mondial_geo
select avg(t1.height) from mountain as t1 inner join geo_mountain as t2 on t1.name = t2.mountain where t2.province = 'nepal'
Question: what is the average height of all mountains in nepal? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Co...
what is the average height of all mountains in nepal?
mondial_geo
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'
Question: for all cities where seine is located at, which city has the greatest population? calculate the difference from the city with least population. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Cap...
for all cities where seine is located at, which city has the greatest population? calculate the difference from the city with least population.
mondial_geo
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'
Question: which are the 2 rivers located at belgrade city? which river is longer and how by much? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, ...
which are the 2 rivers located at belgrade city? which river is longer and how by much?
mondial_geo
select country from language where name = 'spanish' and percentage = 100
Question: which nations have a 100% spanish-speaking population? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> C...
which nations have a 100% spanish-speaking population?
mondial_geo
select country from politics where government = 'british crown dependency'
Question: which countries are dependent on the british crown? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Coun...
which countries are dependent on the british crown?
mondial_geo
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
Question: what are the names of the rivers in canada? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GDP...
what are the names of the rivers in canada?
mondial_geo
select t2.name from economy as t1 inner join country as t2 on t1.country = t2.code order by t1.inflation desc limit 1
Question: what is the name of the country whose citizens have the lowest purchasing power? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitu...
what is the name of the country whose citizens have the lowest purchasing power?
mondial_geo
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
Question: what province does the 4th most populous city in the united kingdom belong to, and how many people live there? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population....
what province does the 4th most populous city in the united kingdom belong to, and how many people live there?
mondial_geo
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'
Question: how many jewish residents are there in moldova? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country,...
how many jewish residents are there in moldova?
mondial_geo
select avg(area) from country as t1 inner join encompasses as t2 on t1.code = t2.country where t2.continent = 'asia'
Question: what is the average area of asian countries? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GD...
what is the average area of asian countries?
mondial_geo
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 )
Question: which country is home to the world's tiniest desert, and what are its longitude and latitude? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, ...
which country is home to the world's tiniest desert, and what are its longitude and latitude?
mondial_geo
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'
Question: how many people in montenegro speaks serbian? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, G...
how many people in montenegro speaks serbian?
mondial_geo
select count(mountain) from geo_mountain where country = ( select code from country order by area desc limit 1 )
Question: how many mountains are there in the country with the most land area? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude...
how many mountains are there in the country with the most land area?
mondial_geo
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 )
Question: which sea is the shallowest and which country surrounds it? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy...
which sea is the shallowest and which country surrounds it?
mondial_geo
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
Question: which nation's gdp is the lowest among those that are communist states? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latit...
which nation's gdp is the lowest among those that are communist states?
mondial_geo
select t1.government from politics as t1 inner join economy as t2 on t1.country = t2.country order by t2.inflation desc limit 1
Question: what kind of political system is in place in the country with the highest inflation rate? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area...
what kind of political system is in place in the country with the highest inflation rate?
mondial_geo
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
Question: which nation has the greatest infant mortality rate among those that attained independence in 1960? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> ...
which nation has the greatest infant mortality rate among those that attained independence in 1960?
mondial_geo
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
Question: what is the smallest border's length, and what form of government do the two nations bordering it have? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert...
what is the smallest border's length, and what form of government do the two nations bordering it have?
mondial_geo
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
Question: which arabic-speaking country has the smallest population? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy ...
which arabic-speaking country has the smallest population?
mondial_geo
select province from geo_desert where desert = ( select name from desert order by area desc limit 1 )
Question: what provinces encompass the world's biggest desert in terms of overall area? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude,...
what provinces encompass the world's biggest desert in terms of overall area?
mondial_geo
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 p...
Question: how many lakes are there in the 4th most populous african country with a republican form of government? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert...
how many lakes are there in the 4th most populous african country with a republican form of government?
mondial_geo
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
Question: which religion is most prevalent in asia? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GDP, ...
which religion is most prevalent in asia?
mondial_geo
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 )
Question: what is the difference in population between the two nations where the tallest peak is located? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name...
what is the difference in population between the two nations where the tallest peak is located?
mondial_geo
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 )
Question: what are the names of the sea that can be found on the island with the biggest area? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Lon...
what are the names of the sea that can be found on the island with the biggest area?
mondial_geo
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 )
Question: what are the names of the three nations where the longest river that empties into the atlantic ocean stretches to? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Populat...
what are the names of the three nations where the longest river that empties into the atlantic ocean stretches to?
mondial_geo
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'
Question: how many people reside in the nation's capital city, which is situated in the nation that attained independence on 8/15/1947? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Ar...
how many people reside in the nation's capital city, which is situated in the nation that attained independence on 8/15/1947?
mondial_geo
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 whe...
Question: what is the total number of afro-asian people in the most populous asian country governed by a monarchy? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. deser...
what is the total number of afro-asian people in the most populous asian country governed by a monarchy?
mondial_geo
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'
Question: 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. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, ...
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.
mondial_geo
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'
Question: 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? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -...
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?
mondial_geo
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
Question: 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. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Na...
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.
mondial_geo
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
Question: 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? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. countr...
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?
mondial_geo
select name from desert order by area desc limit 1, 1
Question: what's the name of the second biggest desert? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, G...
what's the name of the second biggest desert?
mondial_geo
select name from language where country = 'mne' order by percentage desc limit 1
Question: what is the main spoken language in mne? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Country, GDP, A...
what is the main spoken language in mne?
mondial_geo
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'
Question: what's the percentage of people in cayman islands speak english? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. ec...
what's the percentage of people in cayman islands speak english?
mondial_geo
select t1.name from country as t1 inner join located as t2 on t1.code = t2.country where t2.river = 'pjandsh'
Question: which country was the source of pjandsh river? give the full name of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longit...
which country was the source of pjandsh river? give the full name of the country.
mondial_geo
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
Question: for the countries have the population north of a billion, which one has the lowest gdp? give the full name of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area,...
for the countries have the population north of a billion, which one has the lowest gdp? give the full name of the country.
mondial_geo
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'
Question: what is the capital of the country that has the licancabur mountain? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude...
what is the capital of the country that has the licancabur mountain?
mondial_geo
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'
Question: how much sea is around the island where kerinci mountain is located? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude...
how much sea is around the island where kerinci mountain is located?
mondial_geo
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'
Question: which three countries does the amazonas flow through? give the full name of the countries. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Are...
which three countries does the amazonas flow through? give the full name of the countries.
mondial_geo
select t1.name from country as t1 inner join politics as t2 on t1.code = t2.country where t2.independence = '1492-01-01'
Question: which country became independent on 1492-01-01? give the full name of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longi...
which country became independent on 1492-01-01? give the full name of the country.
mondial_geo
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
Question: how many cities in france have a population of more than 100,000? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. e...
how many cities in france have a population of more than 100,000?
mondial_geo
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
Question: among all the rivers finally flows to the sea of 540m in depth, which one has the longest length? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Na...
among all the rivers finally flows to the sea of 540m in depth, which one has the longest length?
mondial_geo
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
Question: in which country is the second highest volcanic mountain located in? give the code of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> N...
in which country is the second highest volcanic mountain located in? give the code of the country.
mondial_geo
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'
Question: what is the longitude of the island on which mount olympos is located? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitu...
what is the longitude of the island on which mount olympos is located?
mondial_geo
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
Question: for all the countries that is smaller than 100 square kilometres, which one has the most gdp? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, ...
for all the countries that is smaller than 100 square kilometres, which one has the most gdp?
mondial_geo
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'
Question: what is the total number of cities that japan have? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Coun...
what is the total number of cities that japan have?
mondial_geo
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
Question: which city has most population other than its capital in bangladesh? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude...
which city has most population other than its capital in bangladesh?
mondial_geo
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
Question: which non capital city has the most people of all? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> Count...
which non capital city has the most people of all?
mondial_geo
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'
Question: in which country is the city of grozny? give the full name of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, La...
in which country is the city of grozny? give the full name of the country.
mondial_geo
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
Question: which religion has the majority of the people in japan? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> ...
which religion has the majority of the people in japan?
mondial_geo
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
Question: which two countries have the border in length of 803 km? give the full names of the countries. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name,...
which two countries have the border in length of 803 km? give the full names of the countries.
mondial_geo
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'
Question: how many percent of the total area of russia is in europe? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy ...
how many percent of the total area of russia is in europe?
mondial_geo
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
Question: give the full names of the countries that are located in more than one continent. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longit...
give the full names of the countries that are located in more than one continent.
mondial_geo
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'
Question: how many people are there in fareham's mother country? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. economy -> C...
how many people are there in fareham's mother country?
mondial_geo
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'
Question: what's the number of infant mortality in switzerland in a year? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Name, Area, Longitude, Latitude. eco...
what's the number of infant mortality in switzerland in a year?