db_id stringlengths 4 31 | SQL stringlengths 18 1.45k | input_sequence stringlengths 148 11k | question stringlengths 16 325 |
|---|---|---|---|
mondial_geo | 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' | Question: how many mountains are there in the united 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, Latitude. economy -> Count... | how many mountains are there in the united states? |
mondial_geo | select t2.independence from country as t1 inner join politics as t2 on t1.code = t2.country where t1.name = 'equatorial guinea' | Question: when did equatorial guinea become independent? | 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, ... | when did equatorial guinea become independent? |
mondial_geo | select t2.gdp / t1.population from country as t1 inner join economy as t2 on t1.code = t2.country where t1.name = 'switzerland' | Question: what is the gdp per capita in switzerland? | 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 per capita in switzerland? |
mondial_geo | 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' | Question: what is the gdp for service of the country with fuenlabrada as its 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, Lati... | what is the gdp for service of the country with fuenlabrada as its city. |
mondial_geo | 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' | Question: how many times longer is the longest river in tajikistan than the shortest 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, Longit... | how many times longer is the longest river in tajikistan than the shortest river? |
mondial_geo | 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' | Question: what is the population density of hanoi's home 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 -> ... | what is the population density of hanoi's home country? |
mondial_geo | select country, name from ethnicgroup as t1 where percentage < 100 and percentage = ( select max(percentage) from ethnicgroup as t2 where t1.country = t2.country ) | Question: 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. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country ... | 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. |
mondial_geo | select desert from geo_desert group by desert having count(distinct country) > 1 | Question: how many deserts are not located in a single country? name them. | 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... | how many deserts are not located in a single country? name them. |
mondial_geo | select river, group_concat(province) from geo_river group by river having count(distinct country) > 1 | Question: how many rivers belong to more than one country? name the provinces where we can find them. | 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... | how many rivers belong to more than one country? name the provinces where we can find them. |
mondial_geo | 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 | Question: what percentage of the border does angola share with each of the countries with which it borders? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert -> Na... | what percentage of the border does angola share with each of the countries with which it borders? |
mondial_geo | 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) | Question: what percent of the non volcanic islands in the lesser antilles group of islands have an area of no more than 300 square kilometers? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Provi... | what percent of the non volcanic islands in the lesser antilles group of islands have an area of no more than 300 square kilometers? |
mondial_geo | 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' | Question: of all the countries in which english is spoken, what percentage has english as their only language? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert ->... | of all the countries in which english is spoken, what percentage has english as their only language? |
mondial_geo | select capital from country where population <= ( select max(population) - max(population) * 0.9995 from country ) | Question: name of the capitals of the countries that have less than 99.95% less population than the country that has the most population. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, ... | name of the capitals of the countries that have less than 99.95% less population than the country that has the most population. |
mondial_geo | select * from river where name = 'donau' | Question: average length of the rivers flowing into the donau 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. economy ... | average length of the rivers flowing into the donau river. |
mondial_geo | select 100 - (cast(sum(case when target = 'christian' then 1 else 0 end) as real)) * 100 / count(country) from target | Question: based on the data shown at target, what percentage of countries are non-christian? | 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... | based on the data shown at target, what percentage of countries are non-christian? |
mondial_geo | 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-... | Question: 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? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latit... | 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? |
mondial_geo | 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' ) | Question: which river with its mouth in the donau river and a length greater than 500 km is located in slovenia? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert ... | which river with its mouth in the donau river and a length greater than 500 km is located in slovenia? |
mondial_geo | 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 | Question: in which city is the sea whose depth is 4232 meters less than that of the bay of bengal? | 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,... | in which city is the sea whose depth is 4232 meters less than that of the bay of bengal? |
mondial_geo | 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 | Question: in which city is the lake located at coordinates longitude -85.35 and latitude 11.6? | 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... | in which city is the lake located at coordinates longitude -85.35 and latitude 11.6? |
mondial_geo | 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 | Question: on which continent is the country with the most erosion of real income? | 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... | on which continent is the country with the most erosion of real income? |
mondial_geo | 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 | Question: which two asian countries share a border that is 1,782 kilometers long? | 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 two asian countries share a border that is 1,782 kilometers long? |
mondial_geo | 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 | Question: of all the lakes in bolivia, which is the deepest? | 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... | of all the lakes in bolivia, which is the deepest? |
mondial_geo | select name from lake where river = ( select river from river where name = 'manicouagan' ) | Question: in which lake flows the river that is, in turn, the mouth of the manicouagan 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, Long... | in which lake flows the river that is, in turn, the mouth of the manicouagan river? |
mondial_geo | 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' | Question: in which group of islands is rinjani mountain 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. economy -> C... | in which group of islands is rinjani mountain located? |
mondial_geo | 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 ) | Question: list all the seas with which the deepest sea merges. | 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 -> Cou... | list all the seas with which the deepest sea merges. |
mondial_geo | select name from country where code in ( select country from encompasses group by country having count(continent) > 1 ) and population / area <= 10 | Question: 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? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. count... | 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? |
mondial_geo | select t1.name from country as t1 inner join religion as t2 on t1.code = t2.country where t2.name = 'hindu' order by t1.population / t1.area asc limit 1 | Question: of all the countries of the hindu religion, which has the lowest ratio of people per square meter of surface? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. ... | of all the countries of the hindu religion, which has the lowest ratio of people per square meter of surface? |
mondial_geo | select independence from politics where country = ( select country from economy where gdp = 1100 ) | Question: on what date did the country have a gross domestic product 400% higher than saint kitts and nevis become independent? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Popu... | on what date did the country have a gross domestic product 400% higher than saint kitts and nevis become independent? |
mondial_geo | select t1.population / t1.area from country as t1 inner join organization as t2 on t1.code = t2.country where strftime('%y', t2.established) = '1947' | Question: what is the average population ratio of the countries in which organizations were established in 1947? | 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 average population ratio of the countries in which organizations were established in 1947? |
mondial_geo | select capital, province from country where name = 'anguilla' | Question: what is the name of anguilla's capital, and where is it 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. ec... | what is the name of anguilla's capital, and where is it located? |
mondial_geo | select name, capital from country order by population asc limit 1 | Question: which nation has the smallest population, and where is its capital 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, L... | which nation has the smallest population, and where is its capital located? |
mondial_geo | select max(area) - min(area) from continent where name = 'asia' or name = 'europe' | Question: how much more space does asia have than 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 -> Country,... | how much more space does asia have than europe? |
mondial_geo | select longitude, latitude from city where name = 'aarhus' | Question: what is the geographic location of aarhus city? please provide the answer with the coordinates of the location. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population... | what is the geographic location of aarhus city? please provide the answer with the coordinates of the location. |
mondial_geo | select max(population) - min(population) from country where name = 'united kingdom' or name = 'italy' | Question: what is the population gap between the united kingdom and italy? | 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 population gap between the united kingdom and italy? |
mondial_geo | select city, province from organization where name = 'european bank for reconstruction and development' | Question: in which city is the european bank for reconstruction and development's headquarters? please include the city and province where the headquarters are located in your answer. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Ar... | in which city is the european bank for reconstruction and development's headquarters? please include the city and province where the headquarters are located in your answer. |
mondial_geo | select name from lake order by area * depth desc limit 1 | Question: which lake is the largest in terms of both surface area and depth? | 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 lake is the largest in terms of both surface area and depth? |
mondial_geo | select country1, country2 from borders order by length desc limit 1 | Question: which two nations are separated from one another by the longest border? please include the entire names of the nations in your answer. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Pro... | which two nations are separated from one another by the longest border? please include the entire names of the nations in your answer. |
mondial_geo | select t1.name from country as t1 inner join economy as t2 on t1.code = t2.country order by t2.gdp desc limit 1 | Question: which nation has the highest gdp? please give the nation's full name. | 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... | which nation has the highest gdp? please give the nation's full name. |
mondial_geo | select t1.name from country as t1 inner join ethnicgroup as t2 on t1.code = t2.country where t2.name = 'african' order by t2.percentage asc limit 1 | Question: which nation has the lowest proportion of people who speak an african language? please state the nation's full name. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Popul... | which nation has the lowest proportion of people who speak an african language? please state the nation's full name. |
mondial_geo | select t2.country from country as t1 inner join religion as t2 on t1.code = t2.country inner join language as t3 on t3.country = t2.country where (t2.name = 'anglican' or t2.name = 'christian' or t2.name = 'roman catholic') and t3.name = 'english' and t3.percentage = 100 group by t1.name having count(t1.name) = 3 | Question: which country has three different religions-anglicanism, christianity, and roman catholicism and uses 100% english? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Popula... | which country has three different religions-anglicanism, christianity, and roman catholicism and uses 100% english? |
mondial_geo | select t1.name from country as t1 inner join economy as t2 on t1.code = t2.country order by t2.inflation desc limit 3 | Question: please list the top 3 countries 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, Longitude, Latitude. ec... | please list the top 3 countries with the highest inflation rate. |
mondial_geo | select t1.name from country as t1 inner join language as t2 on t1.code = t2.country where t2.name = 'english' and t2.percentage = 100 | Question: please provide a list of every nation where english is spoken and utilized entirely. | 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... | please provide a list of every nation where english is spoken and utilized entirely. |
mondial_geo | select count(t3.name) from country as t1 inner join politics as t2 on t1.code = t2.country inner join organization as t3 on t3.country = t2.country where t2.independence = null and strftime('%y', t3.established) > '1960' | Question: how many businesses were founded after 1960 in a nation that wasn't independent? | 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... | how many businesses were founded after 1960 in a nation that wasn't independent? |
mondial_geo | select t1.province from city as t1 inner join located as t2 on t1.name = t2.city inner join river as t3 on t3.name = t2.river where t3.name = 'klaraelv' | Question: what province did the river klaeaelv travel through and how long is 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... | what province did the river klaeaelv travel through and how long is the river? |
mondial_geo | select count(distinct t2.province), t3.depth from country as t1 inner join located as t2 on t1.code = t2.country inner join sea as t3 on t3.name = t2.sea where t1.code = 'i' and t3.name = 'mediterranean sea' group by t3.depth | Question: how many italian regions are bordered by the mediterranean sea? how deep is 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 -> N... | how many italian regions are bordered by the mediterranean sea? how deep is the mediterranean sea? |
mondial_geo | select name from country where code in ( select country from politics where government = 'british overseas territories' ) | Question: what nations are considered british overseas territories? | 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 -... | what nations are considered british overseas territories? |
mondial_geo | select t1.name from country as t1 inner join economy as t2 on t1.code = t2.country order by t2.gdp desc, t2.agriculture asc limit 1 | Question: which of the top 3 economies by gdp has the lowest proportion of the economy devoted to agriculture? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert ->... | which of the top 3 economies by gdp has the lowest proportion of the economy devoted to agriculture? |
mondial_geo | select t1.area, count(t3.name) from continent as t1 inner join encompasses as t2 on t1.name = t2.continent inner join country as t3 on t3.code = t2.country where t1.name = 'asia' group by t1.name, t1.area | Question: how big is africa, and how many nations make up the 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. econ... | how big is africa, and how many nations make up the continent? |
mondial_geo | select t1.province from country as t1 inner join organization as t2 on t1.code = t2.country where t1.name = 'united states' group by t1.province order by count(t1.name) desc limit 1 | Question: which united states province is home to the greatest number of corporations' corporate headquarters? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. desert ->... | which united states province is home to the greatest number of corporations' corporate headquarters? |
mondial_geo | select t1.name from country as t1 inner join politics as t2 on t1.code = t2.country order by t2.independence desc limit 3 | Question: what are the most recent three independent nations? | 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 are the most recent three independent nations? |
mondial_geo | select country from politics where government = 'republic' and strftime('%y', independence) >= '1991' and country in ( select country from country ) order by independence limit 3 | Question: please name any three sovereign nations that have been governed by the republic since 1991. | 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... | please name any three sovereign nations that have been governed by the republic since 1991. |
mondial_geo | select name from organization where country in ( select country from politics where dependent != '' ) | Question: which company falls under the category of an associated member? please provide the organization's full name. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. d... | which company falls under the category of an associated member? please provide the organization's full name. |
mondial_geo | select t3.name from desert as t1 inner join geo_desert as t2 on t1.name = t2.desert inner join country as t3 on t3.code = t2.country where t1.name = 'kalahari' | Question: which nations have a boundary with the kalahari 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 -> ... | which nations have a boundary with the kalahari desert? |
mondial_geo | select t1.name from desert as t1 inner join geo_desert as t2 on t1.name = t2.desert inner join country as t3 on t3.code = t2.country where t3.name = 'kazakstan' order by t1.area desc limit 1 | Question: which desert in kazakhstan is the largest? | 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 desert in kazakhstan is the largest? |
mondial_geo | select t2.sea2, t1.depth from sea as t1 inner join mergeswith as t2 on t1.name = t2.sea1 where t1.name = 'baltic sea' | Question: what sea does the baltic sea converge with, and how deep is the 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, L... | what sea does the baltic sea converge with, and how deep is the baltic sea? |
mondial_geo | select t1.name from country as t1 inner join organization as t2 on t1.code = t2.country inner join politics as t3 on t3.country = t2.country where strftime('%y', t2.established) > '1907' and t3.government = 'constitutional monarchy' group by t1.name order by count(distinct t2.name) desc limit 1 | Question: which constitutional monarchy nations saw the greatest growth in the number of organizations after 1907? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. deser... | which constitutional monarchy nations saw the greatest growth in the number of organizations after 1907? |
mondial_geo | select t1.type, t3.name, t4.name from mountain as t1 inner join geo_mountain as t2 on t1.name = t2.mountain inner join province as t3 on t3.name = t2.province inner join country as t4 on t3.country = t4.code where t1.name = 'ampato' | Question: what kind of mountain is ampato? which province and nation does this mountain belong 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,... | what kind of mountain is ampato? which province and nation does this mountain belong to? |
mondial_geo | select t1.name from mountain as t1 inner join geo_mountain as t2 on t1.name = t2.mountain inner join province as t3 on t3.name = t2.province where t3.name = 'ecuador' and t1.type = 'volcano' | Question: please provide a list of every volcano mountain in the province of ecuador. | 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... | please provide a list of every volcano mountain in the province of ecuador. |
mondial_geo | select sum(iif(government = 'parliamentary democracy', 1, 0)) , cast(sum(iif(government = 'parliamentary democracy', 1, 0)) as real) * 100 / count(*) from politics as t1 where strftime('%y', independence) >= '1993' | Question: what percentage of nations have achieved independence since 1993 and practice parliamentary democracy? please include any three parliament-based democracies that attained independence after 1993. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude.... | what percentage of nations have achieved independence since 1993 and practice parliamentary democracy? please include any three parliament-based democracies that attained independence after 1993. |
mondial_geo | select cast(sum(case when t1.length > 3000 then 1 else 0 end) as real) * 100 / count(t1.name) from river as t1 inner join located as t2 on t1.name = t2.river inner join country as t3 on t3.code = t2.country | Question: what proportion of rivers have a length of more than 3,000 miles? please provide the name of a russian river that is more than 3,000 miles long. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Ca... | what proportion of rivers have a length of more than 3,000 miles? please provide the name of a russian river that is more than 3,000 miles long. |
mondial_geo | select name, established from organization where abbreviation = 'abeda' | Question: what is the full name of abeda and when was it established? | 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... | what is the full name of abeda and when was it established? |
mondial_geo | select name from organization where strftime('%y', established) between '1970' and '1980' | Question: name all the organisations that were established from 1970 to 1980. | 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 organisations that were established from 1970 to 1980. |
mondial_geo | select name from organization where city = 'london' | Question: provide a list of all organisations with headquarters in london? | 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... | provide a list of all organisations with headquarters in london? |
mondial_geo | select name, city from organization where country = 'usa' | Question: for each organisations with headquarters in the usa, provide the its full name and the city where the headquarter is located at. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province,... | for each organisations with headquarters in the usa, provide the its full name and the city where the headquarter is located at. |
mondial_geo | select abbreviation, name, established from organization where city = 'paris' order by established asc limit 1 | Question: name the first organisation established in the paris city. state its abbreviation, full name and date of establishment. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Po... | name the first organisation established in the paris city. state its abbreviation, full name and date of establishment. |
mondial_geo | select name, city from organization where name like '%united nation%' | Question: list all the organisations that where its name contains 'united nation'. state its full name and its headquarter city. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Pop... | list all the organisations that where its name contains 'united nation'. state its full name and its headquarter city. |
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 order by t2.length desc limit 1 | Question: which 2 countries' border span across the longest length? provide the country's full name. | 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 2 countries' border span across the longest length? provide the country's full name. |
mondial_geo | select t3.name from country as t1 inner join borders as t2 on t1.code = t2.country1 inner join country as t3 on t3.code = t2.country2 where t1.name = 'bulgaria' | Question: name all countries in which have border with bulgaria. | 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... | name all countries in which have border with bulgaria. |
mondial_geo | select t1.name from country as t1 inner join borders as t2 on t1.code = t2.country1 where t2.length > 4000 | Question: state all countries with border greater than 4,000. list the full country name. | 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... | state all countries with border greater than 4,000. list the full country name. |
mondial_geo | select t2.name from ismember as t1 inner join country as t2 on t1.country = t2.code where t1.organization = 'ioc' order by t2.population desc limit 1 | Question: among the country member of 'ioc' organization, which country has the most 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, L... | among the country member of 'ioc' organization, which country has the most population? |
mondial_geo | select t2.country, t2.type from organization as t1 inner join ismember as t2 on t1.abbreviation = t2.organization inner join country as t3 on t2.country = t3.code where t1.name = 'islamic development bank' | Question: list all members and member type of the islamic development bank. | 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... | list all members and member type of the islamic development bank. |
mondial_geo | select t2.name, t2.population from organization as t1 inner join country as t2 on t1.country = t2.code where t1.name = 'asia pacific economic cooperation' | Question: state the area and population of the country where asia pacific economic cooperation headquarter is located. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. d... | state the area and population of the country where asia pacific economic cooperation headquarter is located. |
mondial_geo | select t1.name from organization as t1 inner join ismember as t2 on t2.country = t1.country inner join country as t3 on t2.country = t3.code where t2.type = 'national society' | Question: what is the organization(s) that has 'national society' as member type. | 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... | what is the organization(s) that has 'national society' as member type. |
mondial_geo | select country from organization where country in ( select code from country ) group by country order by count(name) limit 1 | Question: which country has the least organization membership? | 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 -> Cou... | which country has the least organization membership? |
mondial_geo | select name, capital from country where code in ( select country from ismember where type = 'category iii' and organization = 'ifad' ) | Question: list all countries with 'category iii' membership in 'ifad' organization. please also provide the capital of the country. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, ... | list all countries with 'category iii' membership in 'ifad' organization. please also provide the capital of the country. |
mondial_geo | select t1.name from organization as t1 inner join ismember as t2 on t2.country = t1.country inner join country as t3 on t2.country = t3.code group by t1.name order by count(t3.name) desc limit 1 | Question: name the organizations with the most members. | 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... | name the organizations with the most members. |
mondial_geo | select t2.capital, t1.name from organization as t1 inner join country as t2 on t1.city = t2.capital where t2.name = 'australia' | Question: what is the capital of australia? is the capital a headquarter to any organization? name the organization(s). | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population. ... | what is the capital of australia? is the capital a headquarter to any organization? name the organization(s). |
mondial_geo | select cast(sum(case when t2.city = 'washington' then 1 else 0 end) as real) * 100 / count(t2.city) from country as t1 inner join organization as t2 on t1.code = t2.country where t2.country = 'usa' | Question: among the organizations where headquarters are in the 'usa', what is the percentage of the them are in 'washington'? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Popul... | among the organizations where headquarters are in the 'usa', what is the percentage of the them are in 'washington'? |
mondial_geo | select length from borders where country1 = 'mex' and country2 = 'usa' | Question: what is the border length between 'usa' and 'mex' | 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 -> Countr... | what is the border length between 'usa' and 'mex' |
mondial_geo | select t3.name from country as t1 inner join ismember as t2 on t1.code = t2.country inner join organization as t3 on t3.country = t2.country where t1.name = 'singapore' order by t3.established desc limit 1 | Question: what is the newest established organization where singapore is a member of? | 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... | what is the newest established organization where singapore is a member of? |
mondial_geo | select t2.population from organization as t1 inner join city as t2 on t1.city = t2.name where t1.name = 'world tourism organization' | Question: provide the population of the city of the 'world tourism organization' headquarter. | 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... | provide the population of the city of the 'world tourism organization' headquarter. |
mondial_geo | select t1.height, t2.province from mountain as t1 inner join geo_mountain as t2 on t1.name = t2.mountain where t1.name = 'dhaulagiri' | Question: what is the height of mountain dhaulagiri located and in which province is it 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, L... | what is the height of mountain dhaulagiri located and in which province is it located? |
mondial_geo | select t1.name, t1.height from mountain as t1 inner join geo_mountain as t2 on t1.name = t2.mountain where t2.province = 'alaska' | Question: list all the name and height of all mountains in alaska | 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 -> ... | list all the name and height of all mountains in alaska |
mondial_geo | select t1.population from country as t1 inner join population as t2 on t1.code = t2.country order by t2.infant_mortality desc limit 1 | Question: what is the population of the country with the highest infant mortality 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,... | what is the population of the country with the highest infant mortality rate? |
mondial_geo | select t2.inflation from country as t1 inner join economy as t2 on t1.code = t2.country where t1.name = 'greece' | Question: state the inflation rate of greece. | 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, Agricu... | state the inflation rate of greece. |
mondial_geo | select t3.government from country as t1 inner join economy as t2 on t1.code = t2.country inner join politics as t3 on t3.country = t2.country order by t2.agriculture desc limit 1 | Question: find the government type for the country with the highest percentage gdp in agriculture. | 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,... | find the government type for the country with the highest percentage gdp in agriculture. |
mondial_geo | select t1.capital from country as t1 inner join politics as t2 on t1.code = t2.country where t2.government = 'parliamentary democracy' | Question: list the full name its capital of all the countries with parliamentary democracy government. | 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... | list the full name its capital of all the countries with parliamentary democracy government. |
mondial_geo | select t1.name, t1.population * t2.percentage from country as t1 inner join ethnicgroup as t2 on t1.code = t2.country where t2.name = 'chinese' and t2.percentage > 70 | Question: provide a full list of countries and its population with more than 70% of chinese. | 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... | provide a full list of countries and its population with more than 70% of chinese. |
mondial_geo | select t3.name, cast(t3.population as real) * 100 / t1.population from country as t1 inner join province as t2 on t1.code = t2.country inner join city as t3 on t3.country = t2.country order by t3.population desc limit 1 | Question: in which city has the greatest population, what is its percentage to its country 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, A... | in which city has the greatest population, what is its percentage to its country population? |
mondial_geo | select t1.independence from politics as t1 inner join country as t2 on t1.country = t2.code where t2.name = 'united states' | Question: when did the united states of america attained it's independence? | 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... | when did the united states of america attained it's independence? |
mondial_geo | select height, name from mountain where type = 'volcanic' order by height desc limit 1 | Question: what is the peak height of the highest volcanic type of mountain? give it's name. | 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... | what is the peak height of the highest volcanic type of mountain? give it's name. |
mondial_geo | select t1.name from organization as t1 inner join country as t2 on t1.country = t2.code where t2.name = 'saudi arabia' order by t1.established desc limit 1 | Question: what is the name of the most recently founded organization in saudi arabia? | 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... | what is the name of the most recently founded organization in saudi arabia? |
mondial_geo | select t2.name from population as t1 inner join country as t2 on t1.country = t2.code order by t1.infant_mortality desc limit 4, 1 | Question: which country has the 5th highest infant mortality 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, Latitude. economy ->... | which country has the 5th highest infant mortality rate? |
mondial_geo | select t1.name from country as t1 inner join religion as t2 on t1.code = t2.country group by t1.name order by count(distinct t2.name) desc limit 1 | Question: which country has the widest range of religious practices? | 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 country has the widest range of religious practices? |
mondial_geo | select name, length from river order by length desc limit 16, 1 | Question: what river has the 17th-longest length overall? specify it's 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, Longitude, Latitude... | what river has the 17th-longest length overall? specify it's length. |
mondial_geo | select t2.independence from country as t1 inner join politics as t2 on t1.code = t2.country where t1.capital = 'nouakchott' | Question: when did the country whose capital is nouakchott attained it's independence? | 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, ... | when did the country whose capital is nouakchott attained it's independence? |
mondial_geo | select t1.name, t2.gdp from country as t1 inner join economy as t2 on t1.code = t2.country order by t1.population asc limit 1 | Question: what is the name of the country with the smallest population, and what is its gross domestic product? | 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 name of the country with the smallest population, and what is its gross domestic product? |
mondial_geo | select t3.name, t1.name, t1.depth from lake as t1 inner join located as t2 on t1.name = t2.lake inner join province as t3 on t3.name = t2.province inner join country as t4 on t4.code = t3.country where t4.name = 'zaire' | Question: which zaire region is home to the country's deepest lake's name it and list its depth. | 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, L... | which zaire region is home to the country's deepest lake's name it and list its depth. |
mondial_geo | select t3.height, t3.type from island as t1 inner join mountainonisland as t2 on t1.name = t2.island inner join mountain as t3 on t3.name = t2.mountain where t1.name = 'madagaskar' order by t3.height desc limit 1 | Question: what is the maximal elevation of the summit of the shortest mountain that can be found in the island of madagaskar? indicate what type of mountain it is. | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name,... | what is the maximal elevation of the summit of the shortest mountain that can be found in the island of madagaskar? indicate what type of mountain it is. |
mondial_geo | select t1.name, t2.gdp from country as t1 inner join economy as t2 on t1.code = t2.country where t1.population between 60000000 and 90000000 order by t2.gdp desc limit 1 | Question: which nation, with a population ranging from 60,000,000 to 99,000,000, has the greatest gross domestic product? | Tables: borders -> Country1, Country2, Length. city -> Name, Country, Province, Population, Longitude, Latitude. continent -> Name, Area. country -> Name, Code, Capital, Province, Area, Population... | which nation, with a population ranging from 60,000,000 to 99,000,000, has the greatest gross domestic product? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.