db_id stringclasses 68 values | question stringlengths 24 325 | evidence stringlengths 0 580 | SQL stringlengths 23 728 |
|---|---|---|---|
mondial_geo | Please list the countries on the European Continent that have a population growth of more than 3%. | 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 | |
mondial_geo | How many countries on the European Continent has an infant mortality rate per thousand of over 100? | 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 | |
mondial_geo | Among the countries that use Bosnian as their language, how many of them don't have a positive population growth rate? | 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 | |
mondial_geo | What is the average percentage of agriculture of GDP in countries on the African Continent? | 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' | |
mondial_geo | Among the independent countries, how many of them has a GDP per capita of over 5000? | 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 | |
mondial_geo | What is the average inflation rate of the biggest continent? | 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 ) | |
mondial_geo | Which island is city Balikpapan located on? How big is the island? | 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' | |
mondial_geo | List all the cities in Sumatra and state the population of each city. | Sumatra is an island | 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' |
mondial_geo | On which island does South Yorkshire situated? State it's longtitude and latitude. | 'South Yorkshire' is a province | 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' |
mondial_geo | List all islands that are greater than the island on which Warwickshire is located. | Warwickshire is a province | 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' ) |
mondial_geo | For island area less than 200, list the island name and city it belongs to. | 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 | |
mondial_geo | In which province is city Glenrothes located? What is the capital of the province? | 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' | |
mondial_geo | List the all the cities and its city population for provinces with population more than 1000000. | SELECT T1.Name, T1.Population FROM city AS T1 INNER JOIN province AS T2 ON T2.Name = T1.Province WHERE T2.Population > 1000000 | |
mondial_geo | List all the coral islands along with its city and province. | Baltic Sea is a sea located in Northern Europe | SELECT City, Province FROM locatedOn WHERE Island IN ( SELECT Name FROM island WHERE Type = 'coral' ) |
mondial_geo | What is the average population for all cities location at Baltic Sea? | Baltic Sea is a sea located in Northern Europe | 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' |
mondial_geo | Calculate the percentage of population in Edmonton city to the population of its province. | Percentage of population in each city = population(city) / population(province) * 100% | 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' |
mondial_geo | Which are the rivers that flows to Black Sea? | Black Sea is a sea located in Eastern Europe and Western Asia | SELECT Name FROM river WHERE Sea = 'Black Sea' |
mondial_geo | State the name of the lake in Albania province and in which city does it located at. | SELECT Lake, City FROM located WHERE Province = 'Albania' AND Lake IS NOT NULL | |
mondial_geo | Please state the longest river that flows to the Mediterranean Sea. | SELECT Name FROM river WHERE Sea = 'Mediterranean Sea' ORDER BY Length DESC LIMIT 1 | |
mondial_geo | List all the cities and provinces located at the rivers that flows to Atlantic Ocean. | Atlantic Ocean is the second-largest ocean on Earth, after the Pacific Ocean; Ocean and sea share the same meaning | 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' |
mondial_geo | What is the name and length of rivers located at 'Orleans' city? | Orleans is a city in north-central France | 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' |
mondial_geo | Name the river of which Lorraine is on. Please name the mountains where to source flow from? | Lorraine is a province | 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' |
mondial_geo | Name the river at Little Rock city. State the length of the river. | SELECT T3.Length FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T1.Name = 'Little Rock' | |
mondial_geo | List all rivers and province it is located that is greater than 1000 in length. | SELECT T1.Province, T2.Name FROM geo_river AS T1 INNER JOIN river AS T2 ON T1.River = T2.Name WHERE T2.Length > 1000 | |
mondial_geo | Provide all rivers name and length in USA. | USA is a country | 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' |
mondial_geo | For all cities where Seine is located at, which city has the greatest population? Calculate the difference from the city with least population. | Seince is a river; Population disparity refers to difference between cities with greatest and least population; Difference between cities with greatest and least population means max(population) - min(population) | SELECT MAX(T1.Population) - MIN(T1.population) FROM city AS T1 INNER JOIN located AS T2 ON T1.Name = T2.City INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Seine' |
mondial_geo | Which are the 2 rivers located at Belgrade city? Which river is longer and how by much? | SELECT T1.Name, T1.Length FROM river AS T1 INNER JOIN located AS T2 ON T1.Name = T2.River INNER JOIN city AS T3 ON T3.Name = T2.City WHERE T3.Name = 'Belgrade' | |
mondial_geo | Which nations have a 100% Spanish-speaking population? | SELECT Country FROM language WHERE Name = 'Spanish' AND Percentage = 100 | |
mondial_geo | What are the names of the rivers in Canada? | SELECT DISTINCT T1.River FROM located AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'Canada' AND T1.River IS NOT NULL | |
mondial_geo | What is the name of the country whose citizens have the lowest purchasing power? | Inflation can reduce purchasing power over time for recipients and payers. | SELECT T2.Name FROM economy AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Inflation DESC LIMIT 1 |
mondial_geo | How many Jewish residents are there in Moldova? | Moldova is one country located in Eastern Europe; The number of residents can be computed by percentage * population | 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' |
mondial_geo | What is the average area of Asian countries? | Asia is a continent | SELECT AVG(Area) FROM country AS T1 INNER JOIN encompasses AS T2 ON T1.Code = T2.Country WHERE T2.Continent = 'Asia' |
mondial_geo | Which country is home to the world's tiniest desert, and what are its longitude and latitude? | SELECT T2.Country, T1.Latitude, T1.Longitude FROM desert AS T1 INNER JOIN geo_desert AS T2 ON T1.Name = T2.Desert WHERE T1.Name = ( SELECT Name FROM desert ORDER BY Area ASC LIMIT 1 ) | |
mondial_geo | How many people in Montenegro speaks Serbian? | Serbian is one language; Montenegro is a country located in Southeastern Europe | 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' |
mondial_geo | How many mountains are there in the country with the most land area? | SELECT COUNT(Mountain) FROM geo_mountain WHERE Country = ( SELECT Code FROM country ORDER BY Area DESC LIMIT 1 ) | |
mondial_geo | Which sea is the shallowest and which country surrounds it? | Shallow sea refers to the sea with less depth | 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 ) |
mondial_geo | Which Arabic-speaking country has the smallest population? | Arabic-speaking country = country that speaks 100% Arabic | 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 |
mondial_geo | What provinces encompass the world's biggest desert in terms of overall area? | SELECT Province FROM geo_desert WHERE Desert = ( SELECT Name FROM desert ORDER BY Area DESC LIMIT 1 ) | |
mondial_geo | How many lakes are there in the 4th most populous African country with a republican form of government? | SELECT COUNT(*) FROM geo_lake WHERE Country = ( SELECT T4.Code FROM ( SELECT T2.Code, T2.Population FROM encompasses AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code INNER JOIN politics AS T3 ON T1.Country = T3.Country WHERE T1.Continent = 'Africa' AND T1.Percentage = 100 AND T3.Government = 'republic' ORDER BY Population DESC LIMIT 4 ) AS T4 ORDER BY population ASC LIMIT 1 ) | |
mondial_geo | Which religion is most prevalent in Asia? | Most prevalent religion refers to the religion with the most population percentage | 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 |
mondial_geo | What are the names of the sea that can be found on the island with the biggest area? | SELECT T2.Name FROM islandIn AS T1 INNER JOIN sea AS T2 ON T2.Name = T1.Sea WHERE T1.Island = ( SELECT Name FROM island ORDER BY Area DESC LIMIT 1 ) | |
mondial_geo | What are the names of the three nations where the longest river that empties into the Atlantic Ocean stretches to? | Empties into the Atlantic Ocean = flows to the Atlantic Ocean | 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 ) |
mondial_geo | What are the names of the cities along the Euphrat River's course? Indicate the capital city of the nation where the Euphrat River flows. | SELECT T2.City, T1.Capital FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country INNER JOIN river AS T3 ON T3.Name = T2.River WHERE T3.Name = 'Euphrat' | |
mondial_geo | 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. | Republic is on of government forms; Percentage of Services of the GDP was mentioned in economy.Service; Population Density = Population / Area | 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 |
mondial_geo | What is the main spoken language in MNE? | MNE is one country | SELECT Name FROM language WHERE Country = 'MNE' ORDER BY Percentage DESC LIMIT 1 |
mondial_geo | What's the percentage of people in Cayman Islands speak English? | Cayman Islands is a country | 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' |
mondial_geo | Which country was the source of Pjandsh River? Give the full name of the country. | SELECT T1.Name FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country WHERE T2.River = 'Pjandsh' | |
mondial_geo | For the countries have the population north of a billion, which one has the lowest GDP? Give the full name of the country. | billion = 1000000000 | 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 |
mondial_geo | How much sea is around the island where Kerinci Mountain is located? | SELECT COUNT(T4.Sea) FROM mountain AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Mountain INNER JOIN island AS T3 ON T3.Name = T2.Island INNER JOIN islandIn AS T4 ON T4.Island = T3.Name WHERE T1.Name = 'Kerinci' | |
mondial_geo | Which three countries does the Amazonas flow through? Give the full name of the countries. | Amazonas flow is a river | 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' |
mondial_geo | How many cities in France have a population of more than 100,000? | SELECT COUNT(T2.Name) FROM country AS T1 INNER JOIN city AS T2 ON T2.Country = T1.Code WHERE T1.Name = 'France' AND T2.Population > 100000 | |
mondial_geo | Among all the rivers finally flows to the sea of 540m in depth, which one has the longest length? | SELECT T2.Name FROM sea AS T1 INNER JOIN river AS T2 ON T2.Sea = T1.Name WHERE T1.Depth = 540 ORDER BY T2.Length DESC LIMIT 1 | |
mondial_geo | For all the countries that is smaller than 100 square kilometres, which one has the most GDP? | SELECT T1.Name FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Area < 100 ORDER BY T2.GDP DESC LIMIT 1 | |
mondial_geo | What is the total number of cities that Japan have? | Japan is a country | 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' |
mondial_geo | Which city has most population other than its capital in Bangladesh? | Bangladesh is a country | 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 |
mondial_geo | Which non capital city has the most people of all? | SELECT T3.Name FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name <> T1.Capital ORDER BY T3.Population DESC LIMIT 1 | |
mondial_geo | In which country is the city of Grozny? Give the full name of the country. | Grozny is a province | 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' |
mondial_geo | Which religion has the majority of the people in Japan? | Japan is a country | 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 |
mondial_geo | Which two countries have the border in length of 803 km? Give the full names of the countries. | SELECT T1.Name, T3.Name FROM country AS T1 INNER JOIN borders AS T2 ON T1.Code = T2.Country1 INNER JOIN country AS T3 ON T3.Code = T2.Country2 WHERE T2.Length = 803 | |
mondial_geo | How many percent of the total area of Russia is in Europe? | SELECT T2.Percentage FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country WHERE T3.Name = 'Russia' AND T1.Name = 'Europe' | |
mondial_geo | Give the full names of the countries that are located in more than one continent. | SELECT T3.Name FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country GROUP BY T3.Name HAVING COUNT(T3.Name) > 1 | |
mondial_geo | How many people are there in Fareham's mother country? | Mother country refers to home country | SELECT T1.Population FROM country AS T1 INNER JOIN province AS T2 ON T1.Code = T2.Country INNER JOIN city AS T3 ON T3.Province = T2.Name WHERE T3.Name = 'Fareham' |
mondial_geo | What's the number of infant mortality in Switzerland in a year? | Number can be calculated = Infant_Mortality * Population * Population_Growth | 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' |
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 | 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 | 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 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 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' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.