db_id stringclasses 69 values | question stringlengths 24 325 | evidence stringlengths 0 673 | SQL stringlengths 23 804 |
|---|---|---|---|
mondial_geo | How many mountains are there in the United States? | SELECT COUNT(T1.Name) FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T4.Province = T3.Name WHERE T4.Name = 'United States' | |
mondial_geo | When did Equatorial Guinea become independent? | Equatorial Guinea is a country | SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Equatorial Guinea' |
mondial_geo | What is the GDP per capita in Switzerland? | GDP per capita = GDP / Population | SELECT T2.GDP / T1.Population FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Switzerland' |
mondial_geo | What is the GDP for Service of the country with Fuenlabrada as its city. | SELECT T4.Service * T4.GDP FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name INNER JOIN economy AS T4 ON T4.Country = T2.Country WHERE T3.Name = 'Fuenlabrada' | |
mondial_geo | How many times longer is the longest river in Tajikistan than the shortest river? | TJ is an abbreviated country code of Tajikistan | 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' |
mondial_geo | What is the population density of Hanoi's home country? | population density = Population / Area | 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' |
mondial_geo | 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. | greatest presence can be represented by largest percentage. | SELECT Country, Name FROM ethnicGroup AS T1 WHERE Percentage < 100 AND Percentage = ( SELECT MAX(Percentage) FROM ethnicGroup AS T2 WHERE T1.Country = T2.Country ) |
mondial_geo | How many deserts are not located in a single country? Name them. | SELECT Desert FROM geo_desert GROUP BY Desert HAVING COUNT(DISTINCT Country) > 1 | |
mondial_geo | How many rivers belong to more than one country? Name the provinces where we can find them. | SELECT River, GROUP_CONCAT(Province) FROM geo_river GROUP BY River HAVING COUNT(DISTINCT Country) > 1 | |
mondial_geo | What percentage of the border does Angola share with each of the countries with which it borders? | SELECT SUM(CASE WHEN T2.Name = 'Angola' THEN T1.Length ELSE 0 END) * 100 / SUM(T1.Length) FROM borders AS T1 LEFT JOIN country AS T2 ON T1.Country1 = T2.Code | |
mondial_geo | What percent of the non volcanic islands in the Lesser Antilles group of islands have an area of no more than 300 square kilometers? | Percent = [count(non volcanic islands Lesser Antilles area 300 or less) / count(non volcanic islands Lesser Antilles)] * 100% | 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) |
mondial_geo | Of all the countries in which English is spoken, what percentage has English as their only language? | Percentage = [count(countries 100% English) / count(countries English)] * 100% | 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' |
mondial_geo | Name of the capitals of the countries that have less than 99.95% less population than the country that has the most population. | SELECT Capital FROM country WHERE Population <= ( SELECT MAX(Population) - MAX(Population) * 0.9995 FROM country ) | |
mondial_geo | Average length of the rivers flowing into the Donau River. | SELECT * FROM river WHERE Name = 'Donau' | |
mondial_geo | Based on the data shown at Target, what percentage of countries are non-Christian? | percentage of countries are non-Christian = [count(non-Christian) / count(non-Christian + Christian)] * 100% | SELECT 100 - (CAST(SUM(CASE WHEN Target = 'Christian' THEN 1 ELSE 0 END) AS REAL)) * 100 / COUNT(Country) FROM target |
mondial_geo | Which country with a city with a population between 50,000 and 300,000 inhabitants and which is a member of an organization established between 03/01/1991 and 04/30/1991 is also a member of the EBRD? | SELECT T2.Country FROM country AS T1 INNER JOIN isMember AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country INNER JOIN city AS T4 ON T4.Country = T3.Country WHERE T3.Abbreviation = 'EBRD' AND T4.Population BETWEEN 50000 AND 300000 AND T3.Established BETWEEN '1991-01-31' AND '1991-04-30' | |
mondial_geo | Which river with its mouth in the Donau River and a length greater than 500 km is located in Slovenia? | SELECT T2.River FROM country AS T1 INNER JOIN geo_river AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Slovenia' AND T2.River IN ( SELECT NAME FROM river WHERE Length > 500 AND River = 'Donau' ) | |
mondial_geo | In which city is the sea whose depth is 4232 meters less than that of the Bay of Bengal? | SELECT T2.City FROM sea AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Sea INNER JOIN city AS T3 ON T3.Name = T2.City WHERE ( SELECT Depth FROM sea WHERE Name LIKE '%Bengal%' ) - T1.Depth = 4235 | |
mondial_geo | In which city is the lake located at coordinates longitude -85.35 and latitude 11.6? | SELECT T2.City FROM lake AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Lake INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN city AS T4 ON T4.Province = T3.Name WHERE T1.Longitude = -85.35 AND T1.Latitude = 11.6 | |
mondial_geo | On which continent is the country with the most erosion of real income? | highest inflation rate results in the most erosion of real income | SELECT T1.Name FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN economy AS T4 ON T4.Country = T3.Code ORDER BY T4.Inflation DESC LIMIT 1 |
mondial_geo | Which two Asian countries share a border that is 1,782 kilometers long? | SELECT T4.Country1, T4.Country2 FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN borders AS T4 ON T4.Country1 = T3.Code WHERE T1.Name = 'Asia' AND T4.Length = 1782 | |
mondial_geo | Of all the lakes in Bolivia, which is the deepest? | Bolivia is the country | 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 |
mondial_geo | In which lake flows the river that is, in turn, the mouth of the Manicouagan River? | SELECT NAME FROM lake WHERE river = ( SELECT river FROM river WHERE NAME = 'Manicouagan' ) | |
mondial_geo | In which group of islands is Rinjani Mountain located? | SELECT T1.Islands FROM island AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Island INNER JOIN mountain AS T3 ON T3.Name = T2.Mountain WHERE T3.Name = 'Rinjani' | |
mondial_geo | List all the seas with which the deepest sea merges. | SELECT T2.Sea2 FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = ( SELECT Name FROM sea ORDER BY Depth DESC LIMIT 1 ) | |
mondial_geo | Of all the countries that share territory with more than one continent, in which of them does the average population not exceed 10 inhabitants per square kilometer? | SELECT NAME FROM country WHERE CODE IN ( SELECT country FROM encompasses GROUP BY country HAVING COUNT(continent) > 1 ) AND population / Area <= 10 | |
mondial_geo | Of all the countries of the Hindu religion, which has the lowest ratio of people per square meter of surface? | ratio of people per square meter of surface = Population / Area | 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 |
mondial_geo | On what date did the country have a gross domestic product 400% higher than Saint Kitts and Nevis become independent? | GDP refers to gross domestic product | SELECT Independence FROM politics WHERE country = ( SELECT country FROM economy WHERE GDP = 1100 ) |
mondial_geo | What is the average population ratio of the countries in which organizations were established in 1947? | Average population ratio = Population / Area | 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' |
mondial_geo | What is the name of Anguilla's capital, and where is it located? | Anguilla is a country | SELECT Capital, Province FROM country WHERE Name = 'Anguilla' |
mondial_geo | Which nation has the smallest population, and where is its capital located? | SELECT Name, Capital FROM country ORDER BY Population ASC LIMIT 1 | |
mondial_geo | How much more space does Asia have than Europe? | Asia and Europe are two continents. | SELECT MAX(Area) - MIN(Area) FROM continent WHERE Name = 'Asia' OR Name = 'Europe' |
mondial_geo | What is the geographic location of Aarhus city? Please provide the answer with the coordinates of the location. | Longitude, Latitude = coordinates of the location | SELECT Longitude, Latitude FROM city WHERE Name = 'Aarhus' |
mondial_geo | What is the population gap between the United Kingdom and Italy? | Population gap = Total population of the United Kingdom - Total population of Italy | SELECT MAX(Population) - MIN(Population) FROM country WHERE Name = 'United Kingdom' OR Name = 'Italy' |
mondial_geo | In which city is the European Bank for Reconstruction and Development's headquarters? Please include the city and province where the headquarters are located in your answer. | SELECT City, Province FROM organization WHERE Name = 'European Bank for Reconstruction and Development' | |
mondial_geo | Which lake is the largest in terms of both surface area and depth? | Area * Depth can represents the metric in terms of both surface area and depth | SELECT Name FROM lake ORDER BY Area * Depth DESC LIMIT 1 |
mondial_geo | Which two nations are separated from one another by the longest border? Please include the entire names of the nations in your answer. | SELECT Country1, Country2 FROM borders ORDER BY Length DESC LIMIT 1 | |
mondial_geo | Which nation has the highest GDP? Please give the nation's full name. | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.GDP DESC LIMIT 1 | |
mondial_geo | Which nation has the lowest proportion of people who speak an African language? Please state the nation's full name. | Nation and country share the same meaning. Proportion refers to percentage | 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 |
mondial_geo | Which country has three different religions-Anglicanism, Christianity, and Roman Catholicism and uses 100% English? | SELECT T2.Country FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country INNER JOIN language AS T3 ON T3.Country = T2.Country WHERE (T2.Name = 'Anglican' OR T2.Name = 'Christian' OR T2.Name = 'Roman Catholic') AND T3.Name = 'English' AND T3.Percentage = 100 GROUP BY T1.Name HAVING COUNT(T1.Name) = 3 | |
mondial_geo | Please list the top 3 countries with the highest inflation rate. | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T2.Inflation DESC LIMIT 3 | |
mondial_geo | Please provide a list of every nation where English is spoken and utilized entirely. | Utilizition entirely means Percentage = 100% uses | 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 |
mondial_geo | How many businesses were founded after 1960 in a nation that wasn't independent? | Established means founded; Country means nation; Organization means businesses | 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' |
mondial_geo | What province did the river Klaeaelv travel through and how long is the river? | SELECT T1.Province FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Klaraelv' | |
mondial_geo | How many Italian regions are bordered by the Mediterranean Sea? How deep is the Mediterranean Sea? | Reigion refers to province | 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 |
mondial_geo | What nations are considered British Overseas Territories? | British Overseas Territories is one government form; Nation and country share the same meaning | SELECT name FROM country WHERE CODE IN ( SELECT country FROM politics WHERE government = 'British Overseas Territories' ) |
mondial_geo | Which of the top 3 economies by GDP has the lowest proportion of the economy devoted to agriculture? | Economies refers to countries | 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 |
mondial_geo | How big is Africa, and how many nations make up the continent? | Area can measure the size of countries; Country and nation share the same meaning | 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 |
mondial_geo | Which United States province is home to the greatest number of corporations' corporate headquarters? | Organization refers to corporation | 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 |
mondial_geo | What are the most recent three independent nations? | Larger date of indepedence refers to more recent indepdence; Nation refers to country | SELECT T1.Name FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country ORDER BY T2.Independence DESC LIMIT 3 |
mondial_geo | Please name any three sovereign nations that have been governed by the republic since 1991. | Nation refers to country | SELECT country FROM politics WHERE government = 'republic' AND STRFTIME('%Y', independence) >= '1991' AND country IN ( SELECT country FROM country ) ORDER BY independence LIMIT 3 |
mondial_geo | Which company falls under the category of an associated member? Please provide the organization's full name. | SELECT NAME FROM organization WHERE country IN ( SELECT country FROM politics WHERE dependent != '' ) | |
mondial_geo | Which nations have a boundary with the Kalahari Desert? | Nation refers to country | 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' |
mondial_geo | Which desert in Kazakhstan is the largest? | SELECT T1.Name FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T3.Name = 'Kazakstan' ORDER BY T1.Area DESC LIMIT 1 | |
mondial_geo | What sea does the Baltic Sea converge with, and how deep is the Baltic Sea? | Coverage refers to mergesWith | SELECT T2.Sea2, T1.Depth FROM sea AS T1 INNER JOIN mergesWith AS T2 ON T1.Name = T2.Sea1 WHERE T1.Name = 'Baltic Sea' |
mondial_geo | Which constitutional monarchy nations saw the greatest growth in the number of organizations after 1907? | Nation refers to country; Information of growth appears in the column Established | 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 |
mondial_geo | What kind of mountain is Ampato? Which province and nation does this mountain belong to? | Nation refers to country | 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' |
mondial_geo | Please provide a list of every volcano mountain in the province of Ecuador. | SELECT T1.Name FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province WHERE T3.Name = 'Ecuador' AND T1.Type = 'volcano' | |
mondial_geo | 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. | Percentage of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100% | 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' |
mondial_geo | 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. | Proportion of rivers with lengths greater than 3,000 miles = [(Total number of rivers with lengths greater than 3,000 miles) / (Total number of rivers)] * 100% | 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 |
mondial_geo | What is the full name of ABEDA and when was it established? | SELECT Name, Established FROM organization WHERE Abbreviation = 'ABEDA' | |
mondial_geo | Name all the organisations that were established from 1970 to 1980. | SELECT Name FROM organization WHERE STRFTIME('%Y', Established) BETWEEN '1970' AND '1980' | |
mondial_geo | Provide a list of all organisations with headquarters in London? | London is a city | SELECT Name FROM organization WHERE City = 'London' |
mondial_geo | For each organisations with headquarters in the USA, provide the its full name and the city where the headquarter is located at. | SELECT Name, City FROM organization WHERE Country = 'USA' | |
mondial_geo | Name the first organisation established in the Paris city. State its abbreviation, full name and date of establishment. | Paris is a city | SELECT Abbreviation, Name, Established FROM organization WHERE City = 'Paris' ORDER BY Established ASC LIMIT 1 |
mondial_geo | List all the organisations that where its name contains 'United Nation'. State its full name and its headquarter city. | SELECT Name, City FROM organization WHERE Name LIKE '%United Nation%' | |
mondial_geo | Which 2 countries' border span across the longest length? Provide the country's full name. | SELECT T1.Name, T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 ORDER BY T2.Length DESC LIMIT 1 | |
mondial_geo | Name all countries in which have border with Bulgaria. | Bulgaria is a country name | 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' |
mondial_geo | State all countries with border greater than 4,000. List the full country name. | SELECT T1.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 WHERE T2.Length > 4000 | |
mondial_geo | Among the country member of 'IOC' organization, which country has the most population? | SELECT T2.Name FROM isMember AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T1.Organization = 'IOC' ORDER BY T2.Population DESC LIMIT 1 | |
mondial_geo | List all members and member type of the Islamic Development Bank. | SELECT T2.Country, T2.Type FROM organization AS T1 INNER JOIN isMember AS T2 ON T1.Abbreviation = T2.Organization INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T1.Name = 'Islamic Development Bank' | |
mondial_geo | State the area and population of the country where Asia Pacific Economic Cooperation headquarter is located. | Asia Pacific Economic Cooperation is an organization name | 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' |
mondial_geo | What is the organization(s) that has 'National Society' as member type. | SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code WHERE T2.Type = 'National Society' | |
mondial_geo | Which country has the least organization membership? | SELECT country FROM organization WHERE country IN ( SELECT Code FROM country ) GROUP BY country ORDER BY COUNT(NAME) LIMIT 1 | |
mondial_geo | List all countries with 'Category III' membership in 'IFAD' organization. Please also provide the capital of the country. | SELECT Name, Capital FROM country WHERE Code IN ( SELECT Country FROM isMember WHERE type = 'Category III' AND Organization = 'IFAD' ) | |
mondial_geo | Name the organizations with the most members. | SELECT T1.Name FROM organization AS T1 INNER JOIN isMember AS T2 ON T2.Country = T1.Country INNER JOIN country AS T3 ON T2.Country = T3.Code GROUP BY T1.Name ORDER BY COUNT(T3.Name) DESC LIMIT 1 | |
mondial_geo | What is the capital of Australia? Is the capital a headquarter to any organization? Name the organization(s). | SELECT T2.Capital, T1.Name FROM organization AS T1 INNER JOIN country AS T2 ON T1.City = T2.Capital WHERE T2.Name = 'Australia' | |
mondial_geo | Among the organizations where headquarters are in the 'USA', what is the percentage of the them are in 'Washington'? | percentage can be computed by [count(City = 'Washington') / count(all cities)] * 100% | 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' |
mondial_geo | What is the border length between 'USA' and 'MEX' | SELECT Length FROM borders WHERE Country1 = 'MEX' AND Country2 = 'USA' | |
mondial_geo | What is the newest established organization where Singapore is a member of? | SELECT T3.Name FROM country AS T1 INNER JOIN isMember AS T2 ON T1.Code = T2.Country INNER JOIN organization AS T3 ON T3.Country = T2.Country WHERE T1.Name = 'Singapore' ORDER BY T3.Established DESC LIMIT 1 | |
mondial_geo | Provide the population of the city of the 'World Tourism Organization' headquarter. | SELECT T2.Population FROM organization AS T1 INNER JOIN city AS T2 ON T1.City = T2.Name WHERE T1.Name = 'World Tourism Organization' | |
mondial_geo | What is the height of mountain Dhaulagiri located and in which province is it located? | SELECT T1.Height, T2.Province FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T1.Name = 'Dhaulagiri' | |
mondial_geo | List all the name and height of all mountains in Alaska | Alaska is a province | SELECT T1.Name, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T2.Province = 'Alaska' |
mondial_geo | What is the population of the country with the highest infant mortality rate? | SELECT T1.Population FROM country AS T1 INNER JOIN population AS T2 ON T1.Code = T2.Country ORDER BY T2.Infant_Mortality DESC LIMIT 1 | |
mondial_geo | State the inflation rate of Greece. | SELECT T2.Inflation FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Greece' | |
mondial_geo | Find the government type for the country with the highest percentage GDP in Agriculture. | SELECT T3.Government FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country ORDER BY T2.Agriculture DESC LIMIT 1 | |
mondial_geo | List the full name its capital of all the countries with parliamentary democracy government. | Parliamentary democracy is a government form | SELECT T1.Capital FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T2.Government = 'parliamentary democracy' |
mondial_geo | Provide a full list of countries and its population with more than 70% of Chinese. | SELECT T1.Name, T1.Population * T2.Percentage FROM country AS T1 INNER JOIN ethnicGroup AS T2 ON T1.Code = T2.Country WHERE T2.Name = 'Chinese' AND T2.Percentage > 70 | |
mondial_geo | In which city has the greatest population, what is its percentage to its country population? | SELECT T3.Name, CAST(T3.Population AS REAL) * 100 / T1.Population FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Country = T2.Country ORDER BY T3.Population DESC LIMIT 1 | |
mondial_geo | When did the United States of America attained it's Independence? | SELECT T1.Independence FROM politics AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'United States' | |
mondial_geo | What is the peak height of the highest volcanic type of mountain? Give it's name. | peak means the highest | SELECT Height, Name FROM mountain WHERE Type = 'volcanic' ORDER BY Height DESC LIMIT 1 |
mondial_geo | What is the name of the most recently founded organization in Saudi Arabia? | Saudi Arabia is a country | 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 |
mondial_geo | Which country has the 5th highest infant mortality rate? | SELECT T2.Name FROM population AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Infant_Mortality DESC LIMIT 4, 1 | |
mondial_geo | Which country has the widest range of religious practices? | SELECT T1.Name FROM country AS T1 INNER JOIN religion AS T2 ON T1.Code = T2.Country GROUP BY T1.Name ORDER BY COUNT(DISTINCT T2.Name) DESC LIMIT 1 | |
mondial_geo | What river has the 17th-longest length overall? Specify it's length. | SELECT Name, Length FROM river ORDER BY Length DESC LIMIT 16, 1 | |
mondial_geo | When did the country whose capital is Nouakchott attained it's independence? | SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Capital = 'Nouakchott' | |
mondial_geo | What is the name of the country with the smallest population, and what is its gross domestic product? | GDP refers to gross domestic product | SELECT T1.Name, T2.GDP FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country ORDER BY T1.Population ASC LIMIT 1 |
mondial_geo | Which Zaire region is home to the country's deepest lake's Name it and list its depth. | SELECT T3.Name, T1.Name, T1.Depth FROM lake AS T1 INNER JOIN located AS T2 ON T1.Name = T2.Lake INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T4.Code = T3.Country WHERE T4.Name = 'Zaire' | |
mondial_geo | 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. | The elevation of the summit refers to height | 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 |
mondial_geo | Which nation, with a population ranging from 60,000,000 to 99,000,000, has the greatest gross domestic product? | GDP refers to gross domestic product; Nation and country are synonyms | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.