Chinastark/bird_dataset huggingface dataset:
Database: mondial_geo
Question: Which mountain does the river source Blue Nile located? State the height of the mountain.
SQL: SELECT T1.Name, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN geo_source AS T4 ON T4.Province = T3.Name WHERE T4.River = 'Blue Nile'
Database: mondial_geo
Question: Name the river at Little Rock city. State the length of the river.
SQL: 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'
Database: mondial_geo
Question: List all rivers and province it is located that is greater than 1000 in length.
SQL: SELECT T1.Province, T2.Name FROM geo_river AS T1 INNER JOIN river AS T2 ON T1.River = T2.Name WHERE T2.Length > 1000
Database: mondial_geo
Question: In which province and country does Moldoveanu located? State its height.
Evidence: Moldoveanu is a mountain
SQL: SELECT T2.Province, T2.Country, T1.Height FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T1.Name = 'Moldoveanu'
Database: mondial_geo
Question: Provide all rivers name and length in USA.
Evidence: USA is a country
SQL: 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'
Database: mondial_geo
Question: What is the average height of all mountains in Nepal?
Evidence: Nepal is a province
SQL: SELECT AVG(T1.Height) FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain WHERE T2.Province = 'Nepal'
Database: mondial_geo
Question: For all cities where Seine is located at, which city has the greatest population? Calculate the difference from the city with least population.
Evidence: 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)
SQL: 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'
Database: mondial_geo
Question: Which are the 2 rivers located at Belgrade city? Which river is longer and how by much?
SQL: 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'
Database: mondial_geo
Question: Which nations have a 100% Spanish-speaking population?
SQL: SELECT Country FROM language WHERE Name = 'Spanish' AND Percentage = 100
Database: mondial_geo
Question: Which countries are dependent on the British Crown?
SQL: SELECT Country FROM politics WHERE Government = 'British crown dependency'
Database: mondial_geo
Question: What are the names of the rivers in Canada?
SQL: 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
Database: mondial_geo
Question: What is the name of the country whose citizens have the lowest purchasing power?
Evidence: Inflation can reduce purchasing power over time for recipients and payers.
SQL: SELECT T2.Name FROM economy AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code ORDER BY T1.Inflation DESC LIMIT 1
Database: mondial_geo
Question: What province does the 4th most populous city in the United Kingdom belong to, and how many people live there?
SQL: SELECT T1.Province, T1.Population FROM city AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code WHERE T2.Name = 'United Kingdom' ORDER BY T1.Population DESC LIMIT 3, 1
Database: mondial_geo
Question: How many Jewish residents are there in Moldova?
Evidence: Moldova is one country located in Eastern Europe; The number of residents can be computed by percentage * population
SQL: 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'
Database: mondial_geo
Question: What is the average area of Asian countries?
Evidence: Asia is a continent
SQL: SELECT AVG(Area) FROM country AS T1 INNER JOIN encompasses AS T2 ON T1.Code = T2.Country WHERE T2.Continent = 'Asia'
Database: mondial_geo
Question: Which country is home to the world's tiniest desert, and what are its longitude and latitude?
SQL: 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 )
Database: mondial_geo
Question: How many people in Montenegro speaks Serbian?
Evidence: Serbian is one language; Montenegro is a country located in Southeastern Europe
SQL: 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'
Database: mondial_geo
Question: How many mountains are there in the country with the most land area?
SQL: SELECT COUNT(Mountain) FROM geo_mountain WHERE Country = ( SELECT Code FROM country ORDER BY Area DESC LIMIT 1 )
Database: mondial_geo
Question: Which sea is the shallowest and which country surrounds it?
Evidence: Shallow sea refers to the sea with less depth
SQL: 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 )
Database: mondial_geo
Question: Which nation's GDP is the lowest among those that are communist states?
Evidence: Communist is a government form
SQL: SELECT T2.Country FROM politics AS T1 INNER JOIN economy AS T2 ON T1.Country = T2.Country WHERE T1.Government = 'Communist state' ORDER BY T2.GDP ASC LIMIT 1
Database: mondial_geo
Question: What kind of political system is in place in the country with the highest inflation rate?
Evidence: Political system refers to government form
SQL: SELECT T1.Government FROM politics AS T1 INNER JOIN economy AS T2 ON T1.Country = T2.Country ORDER BY T2.Inflation DESC LIMIT 1
Database: mondial_geo
Question: Which nation has the greatest infant mortality rate among those that attained independence in 1960?
SQL: SELECT T1.Country FROM politics AS T1 INNER JOIN population AS T2 ON T1.Country = T2.Country WHERE STRFTIME('%Y', T1.Independence) = '1960' ORDER BY T2.Infant_Mortality DESC LIMIT 1
Database: mondial_geo
Question: What is the smallest border's length, and what form of government do the two nations bordering it have?
SQL: SELECT T1.Government, T3.Government FROM politics AS T1 INNER JOIN borders AS T2 ON T1.Country = T2.Country1 INNER JOIN politics AS T3 ON T3.Country = T2.Country2 ORDER BY T2.Length ASC LIMIT 1
Database: mondial_geo
Question: Which Arabic-speaking country has the smallest population?
Evidence: Arabic-speaking country = country that speaks 100% Arabic
SQL: 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
Database: mondial_geo
Question: What provinces encompass the world's biggest desert in terms of overall area?
SQL: SELECT Province FROM geo_desert WHERE Desert = ( SELECT Name FROM desert ORDER BY Area DESC LIMIT 1 )
Database: mondial_geo
Question: How many lakes are there in the 4th most populous African country with a republican form of government?
SQL: 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 )
Database: mondial_geo
Question: Which religion is most prevalent in Asia?
Evidence: Most prevalent religion refers to the religion with the most population percentage
SQL: 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
Database: mondial_geo
Question: What is the difference in population between the two nations where the tallest peak is located?
SQL: SELECT * FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Country = T2.Country INNER JOIN country AS T4 ON T4.Code = T3.Country WHERE T1.Name = ( SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1 )
Database: mondial_geo
Question: What are the names of the sea that can be found on the island with the biggest area?
SQL: 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 )
Database: mondial_geo
Question: What are the names of the three nations where the longest river that empties into the Atlantic Ocean stretches to?
Evidence: Empties into the Atlantic Ocean = flows to the Atlantic Ocean
SQL: 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 )
Database: mondial_geo
Question: How many people reside in the nation's capital city, which is situated in the nation that attained independence on 8/15/1947?
SQL: SELECT T3.Population FROM politics AS T1 INNER JOIN country AS T2 ON T1.Country = T2.Code INNER JOIN city AS T3 ON T3.Name = T2.Capital WHERE T1.Independence = '1947-08-15'
Database: mondial_geo
Question: What is the total number of Afro-Asian people in the most populous Asian country governed by a monarchy?
Evidence: Total Number of People = Percentage * Population
SQL: SELECT T5.Percentage * T6.Population FROM ethnicGroup AS T5 INNER JOIN country AS T6 ON T5.Country = T6.Code WHERE Country = ( SELECT T3.Code FROM continent AS T1 INNER JOIN encompasses AS T2 ON T1.Name = T2.Continent INNER JOIN country AS T3 ON T3.Code = T2.Country INNER JOIN politics AS T4 ON T4.Country = T3.Code WHERE T4.Government = 'monarchy' AND T1.Name = 'Asia' ORDER BY T3.Population DESC LIMIT 1 ) AND T5.Name = 'Afro-Asian'
Database: mondial_geo
Question: What are the names of the cities along the Euphrat River's course? Indicate the capital city of the nation where the Euphrat River flows.
SQL: 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'
Database: mondial_geo
Question: What is the proportion of English-speaking citizens in the countries that rely on the United States compared to the total number of citizens in those countries?
SQL: SELECT T2.Percentage * T1.Population FROM country AS T1 INNER JOIN language AS T2 ON T1.Code = T2.Country INNER JOIN politics AS T3 ON T3.Country = T2.Country WHERE T3.Dependent = 'USA' AND T2.Name = 'English'
Database: mondial_geo
Question: Which federal republic country in Europe has the most provinces, and what proportion of GDP is devoted to services?
Calculate the population density as well.
Evidence: Republic is on of government forms; Percentage of Services of the GDP was mentioned in economy.Service; Population Density = Population / Area
SQL: 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
Database: mondial_geo
Question: What is the capital of the 3rd most populated country in Asia and what is the capital city's ratio in percentage (%) against the overall population of the country?
SQL: SELECT T4.Capital, CAST(T3.Population AS REAL) * 100 / T4.Population FROM city AS T3 INNER JOIN ( SELECT T1.Capital , T1.Population FROM country AS T1 INNER JOIN encompasses AS T2 ON T1.Code = T2.Country WHERE T2.Continent = 'Asia' ORDER BY T1.Population DESC LIMIT 2, 1 ) AS T4 ON T3.Name = T4.Capital
Database: mondial_geo
Question: What's the name of the second biggest desert?
SQL: SELECT Name FROM desert ORDER BY Area DESC LIMIT 1, 1
Database: mondial_geo
Question: What is the main spoken language in MNE?
Evidence: MNE is one country
SQL: SELECT Name FROM language WHERE Country = 'MNE' ORDER BY Percentage DESC LIMIT 1
Database: mondial_geo
Question: What's the percentage of people in Cayman Islands speak English?
Evidence: Cayman Islands is a country
SQL: 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'
Database: mondial_geo
Question: Which country was the source of Pjandsh River? Give the full name of the country.
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN located AS T2 ON T1.Code = T2.Country WHERE T2.River = 'Pjandsh'
Database: mondial_geo
Question: For the countries have the population north of a billion, which one has the lowest GDP? Give the full name of the country.
Evidence: billion = 1000000000
SQL: 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
Database: mondial_geo
Question: What is the capital of the country that has the Licancabur Mountain?
SQL: SELECT T4.Capital FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province INNER JOIN country AS T4 ON T4.Province = T3.Name WHERE T1.Name = 'Licancabur'
Database: mondial_geo
Question: How much sea is around the island where Kerinci Mountain is located?
SQL: 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'
Database: mondial_geo
Question: Which three countries does the Amazonas flow through? Give the full name of the countries.
Evidence: Amazonas flow is a river
SQL: 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'
Database: mondial_geo
Question: Which country became independent on 1492-01-01? Give the full name of the country.
SQL: SELECT T1.Name FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T2.Independence = '1492-01-01'
Database: mondial_geo
Question: How many cities in France have a population of more than 100,000?
SQL: 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
Database: mondial_geo
Question: Among all the rivers finally flows to the sea of 540m in depth, which one has the longest length?
SQL: 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
Database: mondial_geo
Question: In which Country is the second highest volcanic mountain located in? Give the code of the country.
SQL: SELECT T3.Country FROM mountain AS T1 INNER JOIN geo_mountain AS T2 ON T1.Name = T2.Mountain INNER JOIN province AS T3 ON T3.Name = T2.Province ORDER BY T1.Height DESC LIMIT 1, 1
Database: mondial_geo
Question: What is the longitude of the island on which Mount Olympos is located?
SQL: SELECT T3.Longitude FROM mountain AS T1 INNER JOIN mountainOnIsland AS T2 ON T1.Name = T2.Mountain INNER JOIN island AS T3 ON T3.Name = T2.Island WHERE T1.Name = 'Olympos'
Database: mondial_geo
Question: For all the countries that is smaller than 100 square kilometres, which one has the most GDP?
SQL: 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
Database: mondial_geo
Question: What is the total number of cities that Japan have?
Evidence: Japan is a country
SQL: 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'
Database: mondial_geo
Question: Which city has most population other than its capital in Bangladesh?
Evidence: Bangladesh is a country
SQL: 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
Database: mondial_geo
Question: Which non capital city has the most people of all?
SQL: 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
Database: mondial_geo
Question: In which country is the city of Grozny? Give the full name of the country.
Evidence: Grozny is a province
SQL: 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'
Database: mondial_geo
Question: Which religion has the majority of the people in Japan?
Evidence: Japan is a country
SQL: 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
Database: mondial_geo
Question: Which two countries have the border in length of 803 km? Give the full names of the countries.
SQL: 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
Database: mondial_geo
Question: How many percent of the total area of Russia is in Europe?
SQL: 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'
Database: mondial_geo
Question: Give the full names of the countries that are located in more than one continent.
SQL: 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
Database: mondial_geo
Question: How many people are there in Fareham's mother country?
Evidence: Mother country refers to home country
SQL: 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'
Database: mondial_geo
Question: What's the number of infant mortality in Switzerland in a year?
Evidence: Number can be calculated = Infant_Mortality * Population * Population_Growth
SQL: 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'
Database: mondial_geo
Question: How many mountains are there in the United States?
SQL: 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'
Database: mondial_geo
Question: When did Equatorial Guinea become independent?
Evidence: Equatorial Guinea is a country
SQL: SELECT T2.Independence FROM country AS T1 INNER JOIN politics AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Equatorial Guinea'
Database: mondial_geo
Question: What is the GDP per capita in Switzerland?
Evidence: GDP per capita = GDP / Population
SQL: SELECT T2.GDP / T1.Population FROM country AS T1 INNER JOIN economy AS T2 ON T1.Code = T2.Country WHERE T1.Name = 'Switzerland'
Database: mondial_geo
Question: What is the GDP for Service of the country with Fuenlabrada as its city.
SQL: 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'
Database: mondial_geo
Question: How many times longer is the longest river in Tajikistan than the shortest river?
Evidence: TJ is an abbreviated country code of Tajikistan
SQL: 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'
Database: mondial_geo
Question: What is the population density of Hanoi's home country?
Evidence: population density = Population / Area
SQL: 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'
Database: mondial_geo
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.
Evidence: greatest presence can be represented by largest percentage.
SQL: SELECT Country, Name FROM ethnicGroup AS T1 WHERE Percentage < 100 AND Percentage = ( SELECT MAX(Percentage) FROM ethnicGroup AS T2 WHERE T1.Country = T2.Country )
Database: mondial_geo
Question: How many deserts are not located in a single country? Name them.
SQL: SELECT Desert FROM geo_desert GROUP BY Desert HAVING COUNT(DISTINCT Country) > 1
Database: mondial_geo
Question: How many rivers belong to more than one country? Name the provinces where we can find them.
SQL: SELECT River, GROUP_CONCAT(Province) FROM geo_river GROUP BY River HAVING COUNT(DISTINCT Country) > 1
Database: mondial_geo
Question: What percentage of the border does Angola share with each of the countries with which it borders?
SQL: 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
Database: mondial_geo
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?
Evidence: Percent = [count(non volcanic islands Lesser Antilles area 300 or less) / count(non volcanic islands Lesser Antilles)] * 100%
SQL: 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)
Database: mondial_geo
Question: Of all the countries in which English is spoken, what percentage has English as their only language?
Evidence: Percentage = [count(countries 100% English) / count(countries English)] * 100%
SQL: 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'
Database: mondial_geo
Question: Name of the capitals of the countries that have less than 99.95% less population than the country that has the most population.
SQL: SELECT Capital FROM country WHERE Population <= ( SELECT MAX(Population) - MAX(Population) * 0.9995 FROM country )
Database: mondial_geo
Question: Average length of the rivers flowing into the Donau River.
SQL: SELECT * FROM river WHERE Name = 'Donau'
Database: mondial_geo
Question: Based on the data shown at Target, what percentage of countries are non-Christian?
Evidence: percentage of countries are non-Christian = [count(non-Christian) / count(non-Christian + Christian)] * 100%
SQL: SELECT 100 - (CAST(SUM(CASE WHEN Target = 'Christian' THEN 1 ELSE 0 END) AS REAL)) * 100 / COUNT(Country) FROM target
Database: mondial_geo
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?
SQL: 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'