aherntech/spider-syn huggingface dataset:
Database: tvshow
Question: find the pixel aspect ratio and nation of the tv channels that do not use English.
Paraphrased question: find the pixel aspect ratio and nation of the tv channels that do not use English.
SQL: SELECT Pixel_aspect_ratio_PAR ,  country FROM tv_channel WHERE LANGUAGE != 'English'
Database: tvshow
Question: What is the pixel aspect ratio and country of origin for all TV channels that do not use English?
Paraphrased question: What is the pixel aspect ratio and nation of origin for all TV channels that do not use English?
SQL: SELECT Pixel_aspect_ratio_PAR ,  country FROM tv_channel WHERE LANGUAGE != 'English'
Database: tvshow
Question: find id of the tv channels that from the countries where have more than two tv channels.
Paraphrased question: find id of the tv channels that from the States where have more than two tv channels.
SQL: SELECT id FROM tv_channel where country in(select country from tv_channel GROUP BY country HAVING count(*)  >  2)
Database: tvshow
Question: What are the ids of all tv channels that have more than 2 TV channels?
Paraphrased question: What are the ids of all tv channels that have more than 2 TV channels?
SQL: SELECT id FROM tv_channel where country in(select country from tv_channel GROUP BY country HAVING count(*)  >  2)
Database: tvshow
Question: find the id of tv channels that do not play any cartoon directed by Ben Jones.
Paraphrased question: find the id of tv channels that do not play any animation directed by Ben Jones.
SQL: SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones'
Database: tvshow
Question: What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?
Paraphrased question: What are the ids of the TV channels that do not have any animations directed by Ben Jones?
SQL: SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones'
Database: tvshow
Question: find the package option of the tv channel that do not have any cartoon directed by Ben Jones.
Paraphrased question: find the package option of the tv channel that do not have any animation directed by Ben Jones.
SQL: SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones')
Database: tvshow
Question: What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?
Paraphrased question: What are the package options of all tv channels that are not playing any animations directed by Ben Jones?
SQL: SELECT package_option FROM TV_Channel WHERE id NOT IN (SELECT channel FROM cartoon WHERE directed_by  =  'Ben Jones')
Database: poker_player
Question: How many poker players are there?
Paraphrased question: How many car gamers are there?
SQL: SELECT count(*) FROM poker_player
Database: poker_player
Question: Count the number of poker players.
Paraphrased question: Count the number of car gamers.
SQL: SELECT count(*) FROM poker_player
Database: poker_player
Question: List the earnings of poker players in descending order.
Paraphrased question: List the earnings of poker players in descending order.
SQL: SELECT Earnings FROM poker_player ORDER BY Earnings DESC
Database: poker_player
Question: What are the earnings of poker players, ordered descending by value?
Paraphrased question: What are the earnings of poker players, ordered descending by value?
SQL: SELECT Earnings FROM poker_player ORDER BY Earnings DESC
Database: poker_player
Question: List the final tables made and the best finishes of poker players.
Paraphrased question: List the final tables made and the best finishes of car gamers.
SQL: SELECT Final_Table_Made ,  Best_Finish FROM poker_player
Database: poker_player
Question: What are the final tables made and best finishes for all poker players?
Paraphrased question: What are the final tables made and best finishes for all car gamers?
SQL: SELECT Final_Table_Made ,  Best_Finish FROM poker_player
Database: poker_player
Question: What is the average earnings of poker players?
Paraphrased question: What is the average revenues of car gamers?
SQL: SELECT avg(Earnings) FROM poker_player
Database: poker_player
Question: Return the average earnings across all poker players.
Paraphrased question: Return the average incomes across all car gamers.
SQL: SELECT avg(Earnings) FROM poker_player
Database: poker_player
Question: What is the money rank of the poker player with the highest earnings?
Paraphrased question: What is the money rank of the car gamer with the highest incomes?
SQL: SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1
Database: poker_player
Question: Return the money rank of the player with the greatest earnings.
Paraphrased question: Return the money rank of the gamer with the greatest revenues.
SQL: SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1
Database: poker_player
Question: What is the maximum number of final tables made among poker players with earnings less than 200000?
Paraphrased question: What is the maximum number of last tables made among car gamers with revenues less than 200000?
SQL: SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings  <  200000
Database: poker_player
Question: Return the maximum final tables made across all poker players who have earnings below 200000.
Paraphrased question: Return the maximum final tables made across all car gamers who have revenues below 200000.
SQL: SELECT max(Final_Table_Made) FROM poker_player WHERE Earnings  <  200000
Database: poker_player
Question: What are the names of poker players?
Paraphrased question: What are the names of car gamers?
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID
Database: poker_player
Question: Return the names of all the poker players.
Paraphrased question: Return the names of all the car gamers.
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID
Database: poker_player
Question: What are the names of poker players whose earnings is higher than 300000?
Paraphrased question: What are the names of car gamers whose incomes is higher than 300000?
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Earnings  >  300000
Database: poker_player
Question: Give the names of poker players who have earnings above 300000.
Paraphrased question: Give the names of car gamers who have revenues above 300000.
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Earnings  >  300000
Database: poker_player
Question: List the names of poker players ordered by the final tables made in ascending order.
Paraphrased question: List the names of car gamers ordered by the final tables made in ascending order.
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Final_Table_Made
Database: poker_player
Question: What are the names of poker players, ordered ascending by the number of final tables they have made?
Paraphrased question: What are the names of car gamers, ordered ascending by the number of final tables they have made?
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Final_Table_Made
Database: poker_player
Question: What is the birth date of the poker player with the lowest earnings?
Paraphrased question: What is the birth date of the car gamers with the lowest revenues?
SQL: SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1
Database: poker_player
Question: Return the birth date of the poker player with the lowest earnings.
Paraphrased question: Return the birth date of the car gamers with the lowest revenues.
SQL: SELECT T1.Birth_Date FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Earnings ASC LIMIT 1
Database: poker_player
Question: What is the money rank of the tallest poker player?
Paraphrased question: What is the money rank of the tallest car gamer?
SQL: SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1
Database: poker_player
Question: Return the money rank of the poker player with the greatest height.
Paraphrased question: Return the money rank of the car gamer with the greatest height.
SQL: SELECT T2.Money_Rank FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1
Database: poker_player
Question: What is the average earnings of poker players with height higher than 200?
Paraphrased question: What is the average revenues of car gamers with height higher than 200?
SQL: SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  200
Database: poker_player
Question: Give average earnings of poker players who are taller than 200.
Paraphrased question: Give average revenues of car gamers who are taller than 200.
SQL: SELECT avg(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  200
Database: poker_player
Question: What are the names of poker players in descending order of earnings?
Paraphrased question: What are the names of car gamers in descending order of revenues?
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Earnings DESC
Database: poker_player
Question: Return the names of poker players sorted by their earnings descending.
Paraphrased question: Return the names of car gamers sorted by their revenues descending.
SQL: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T2.Earnings DESC
Database: poker_player
Question: What are different nationalities of people and the corresponding number of people from each nation?
Paraphrased question: What are different country of people and the corresponding number of people from each country?
SQL: SELECT Nationality ,  COUNT(*) FROM people GROUP BY Nationality
Database: poker_player
Question: How many people are there of each nationality?
Paraphrased question: How many people are there of each country?
SQL: SELECT Nationality ,  COUNT(*) FROM people GROUP BY Nationality
Database: poker_player
Question: What is the most common nationality of people?
Paraphrased question: What is the most common country of people?
SQL: SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
Database: poker_player
Question: Give the nationality that is most common across all people.
Paraphrased question: Give the country that is most common across all people.
SQL: SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
Database: poker_player
Question: What are the nationalities that are shared by at least two people?
Paraphrased question: What are the countries that are shared by at least two people?
SQL: SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*)  >=  2
Database: poker_player
Question: Return the nationalities for which there are two or more people.
Paraphrased question: Return the countries for which there are two or more people.
SQL: SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*)  >=  2
Database: poker_player
Question: List the names and birth dates of people in ascending alphabetical order of name.
Paraphrased question: List the names and birth dates of people in ascending alphabetical order of name.
SQL: SELECT Name ,  Birth_Date FROM people ORDER BY Name ASC
Database: poker_player
Question: What are the names and birth dates of people, ordered by their names in alphabetical order?
Paraphrased question: What are the names and birth dates of people, ordered by their names in alphabetical order?
SQL: SELECT Name ,  Birth_Date FROM people ORDER BY Name ASC
Database: poker_player
Question: Show names of people whose nationality is not "Russia".
Paraphrased question: Show names of people whose nationality is not "Russia".
SQL: SELECT Name FROM people WHERE Nationality != "Russia"
Database: poker_player
Question: What are the names of people who are not from Russia?
Paraphrased question: What are the names of people who are not from Russia?
SQL: SELECT Name FROM people WHERE Nationality != "Russia"
Database: poker_player
Question: List the names of people that are not poker players.
Paraphrased question: List the names of people that are not car gamers.
SQL: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)
Database: poker_player
Question: What are the names of people who do not play poker?
Paraphrased question: What are the names of people who do not car gamer?
SQL: SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM poker_player)
Database: poker_player
Question: How many distinct nationalities are there?
Paraphrased question: How many distinct countries are there?
SQL: SELECT count(DISTINCT Nationality) FROM people
Database: poker_player
Question: Count the number of different nationalities.
Paraphrased question: Count the number of different countries.
SQL: SELECT count(DISTINCT Nationality) FROM people
Database: voter_1
Question: How many states are there?
Paraphrased question: How many states are there?
SQL: SELECT count(*) FROM area_code_state
Database: voter_1
Question: List the contestant numbers and names, ordered by contestant name descending.
Paraphrased question: List the competitor numbers and names, ordered by competitor name descending.
SQL: SELECT contestant_number ,  contestant_name FROM contestants ORDER BY contestant_name DESC
Database: voter_1
Question: List the vote ids, phone numbers and states of all votes.
Paraphrased question: List the vote ids, telephone numbers and states of all votes.
SQL: SELECT vote_id ,  phone_number ,  state FROM votes
Database: voter_1
Question: What are the maximum and minimum values of area codes?
Paraphrased question: What are the maximum and minimum values of area codes?
SQL: SELECT max(area_code) ,  min(area_code) FROM area_code_state
Database: voter_1
Question: What is last date created of votes from the state 'CA'?
Paraphrased question: What is last date created of votes from the state 'CA'?
SQL: SELECT max(created) FROM votes WHERE state  =  'CA'
Database: voter_1
Question: What are the names of the contestants whose names are not 'Jessie Alloway'
Paraphrased question: What are the names of the participants whose names are not 'Jessie Alloway'
SQL: SELECT contestant_name FROM contestants WHERE contestant_name != 'Jessie Alloway'
Database: voter_1
Question: What are the distinct states and create time of all votes?
Paraphrased question: What are the distinct states and set up time of all votes?
SQL: SELECT DISTINCT state ,  created FROM votes
Database: voter_1
Question: What are the contestant numbers and names of the contestants who had at least two votes?
Paraphrased question: What are the participant numbers and names of the participants who had at least two votes?
SQL: SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number GROUP BY T1.contestant_number HAVING count(*)  >=  2
Database: voter_1
Question: Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?
Paraphrased question: Of all the competitors who got voted, what is the competitor number and name of the competitor who got least votes?
SQL: SELECT T1.contestant_number , T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number GROUP BY T1.contestant_number ORDER BY count(*) ASC LIMIT 1
Database: voter_1
Question: What are the number of votes from state 'NY' or 'CA'?
Paraphrased question: What are the number of votes from nation 'NY' or 'CA'?
SQL: SELECT count(*) FROM votes WHERE state  =  'NY' OR state  =  'CA'
Database: voter_1
Question: How many contestants did not get voted?
Paraphrased question: How many competitors did not get voted?
SQL: SELECT count(*) FROM contestants WHERE contestant_number NOT IN ( SELECT contestant_number FROM votes )
Database: voter_1
Question: What is the area code in which the most voters voted?
Paraphrased question: What is the area number in which the most voters voted?
SQL: SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state  =  T2.state GROUP BY T1.area_code ORDER BY count(*) DESC LIMIT 1
Database: voter_1
Question: What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'?
Paraphrased question: What are the set up dates, states, and telephone numbers of the votes that were for the competitor named 'Tabatha Gehling'?
SQL: SELECT T2.created ,  T2.state ,  T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number WHERE T1.contestant_name  =  'Tabatha Gehling'
Database: voter_1
Question: List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.
Paraphrased question: List the area codes in which voters voted both for the participant 'Tabatha Gehling' and the participant 'Kelly Clauss'.
SQL: SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number JOIN area_code_state AS T3 ON T2.state  =  T3.state WHERE T1.contestant_name  =  'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number  =  T2.contestant_number JOIN area_code_state AS T3 ON T2.state  =  T3.state WHERE T1.contestant_name  =  'Kelly Clauss'
Database: voter_1
Question: Return the names the contestants whose names contain the substring 'Al'.
Paraphrased question: Return the names the competitors whose names contain the substring 'Al'.
SQL: SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%Al%"
Database: world_1
Question: What are the names of all the countries that became independent after 1950?
Paraphrased question: What are the names of all the States that became sovereign after 1950?
SQL: SELECT Name FROM country WHERE IndepYear  >  1950
Database: world_1
Question: Give the names of the nations that were founded after 1950.
Paraphrased question: Give the names of the nations that were founded after 1950.
SQL: SELECT Name FROM country WHERE IndepYear  >  1950
Database: world_1
Question: How many countries have a republic as their form of government?
Paraphrased question: How many nations have a republic as their form of government?
SQL: SELECT count(*) FROM country WHERE GovernmentForm  =  "Republic"
Database: world_1
Question: How many countries have governments that are republics?
Paraphrased question: How many nations have governments that are republics?
SQL: SELECT count(*) FROM country WHERE GovernmentForm  =  "Republic"
Database: world_1
Question: What is the total surface area of the countries in the Caribbean region?
Paraphrased question: What is the total territory of the State in the Caribbean region?
SQL: SELECT sum(SurfaceArea) FROM country WHERE Region  =  "Caribbean"
Database: world_1
Question: How much surface area do the countires in the Caribbean cover together?
Paraphrased question: How much territory do the countires in the Caribbean cover together?
SQL: SELECT sum(SurfaceArea) FROM country WHERE Region  =  "Caribbean"
Database: world_1
Question: Which continent is Anguilla in?
Paraphrased question: Which continent is Anguilla in?
SQL: SELECT Continent FROM country WHERE Name  =  "Anguilla"
Database: world_1
Question: What is the continent name which Anguilla belongs to?
Paraphrased question: What is the continent name which Anguilla belongs to?
SQL: SELECT Continent FROM country WHERE Name  =  "Anguilla"
Database: world_1
Question: Which region is the city Kabul located in?
Paraphrased question: Which region is the city Kabul located in?
SQL: SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Name  =  "Kabul"
Database: world_1
Question: What region is Kabul in?
Paraphrased question: What region is Kabul in?
SQL: SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Name  =  "Kabul"
Database: world_1
Question: Which language is the most popular in Aruba?
Paraphrased question: Which language is the most popular in Aruba?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Aruba" ORDER BY Percentage DESC LIMIT 1
Database: world_1
Question: What language is predominantly spoken in Aruba?
Paraphrased question: What language is predominantly spoken in Aruba?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Aruba" ORDER BY Percentage DESC LIMIT 1
Database: world_1
Question: What are the population and life expectancies in Brazil?
Paraphrased question: What are the population and lifespan in Brazil?
SQL: SELECT Population ,  LifeExpectancy FROM country WHERE Name  =  "Brazil"
Database: world_1
Question: Give me Brazil's population and life expectancies.
Paraphrased question: Give me Brazil's population and lifespan.
SQL: SELECT Population ,  LifeExpectancy FROM country WHERE Name  =  "Brazil"
Database: world_1
Question: What are the region and population of Angola?
Paraphrased question: What are the region and number of people of Angola?
SQL: SELECT Population ,  Region FROM country WHERE Name  =  "Angola"
Database: world_1
Question: What region does Angola belong to and what is its population?
Paraphrased question: What region does Angola belong to and what is its number of residents?
SQL: SELECT Population ,  Region FROM country WHERE Name  =  "Angola"
Database: world_1
Question: What is the average expected life expectancy for countries in the region of Central Africa?
Paraphrased question: What is the average lifespan for countries in the region of Central Africa?
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Region  =  "Central Africa"
Database: world_1
Question: How long is the people’s average life expectancy in Central Africa?
Paraphrased question: How long is the people’s average lifespan in Central Africa?
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Region  =  "Central Africa"
Database: world_1
Question: What is the name of country that has the shortest life expectancy in Asia?
Paraphrased question: What is the name of nation that has the shortest lifespan in Asia?
SQL: SELECT Name FROM country WHERE Continent  =  "Asia" ORDER BY LifeExpectancy LIMIT 1
Database: world_1
Question: Give the name of the country in Asia with the lowest life expectancy.
Paraphrased question: Give the name of the State in Asia with the lowest lifespan.
SQL: SELECT Name FROM country WHERE Continent  =  "Asia" ORDER BY LifeExpectancy LIMIT 1
Database: world_1
Question: What is the total population and maximum GNP in Asia?
Paraphrased question: What is the total number of people and maximum GNP in Asia?
SQL: SELECT sum(Population) ,  max(GNP) FROM country WHERE Continent  =  "Asia"
Database: world_1
Question: How many people live in Asia, and what is the largest GNP among them?
Paraphrased question: How many people live in Asia, and what is the largest GNP among them?
SQL: SELECT sum(Population) ,  max(GNP) FROM country WHERE Continent  =  "Asia"
Database: world_1
Question: What is the average life expectancy in African countries that are republics?
Paraphrased question: What is the average lifespan in African nations that are republics?
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Continent  =  "Africa" AND GovernmentForm  =  "Republic"
Database: world_1
Question: Give the average life expectancy for countries in Africa which are republics?
Paraphrased question: Give the average lifespan for nations in Africa which are republics?
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Continent  =  "Africa" AND GovernmentForm  =  "Republic"
Database: world_1
Question: What is the total surface area of the continents Asia and Europe?
Paraphrased question: What is the total territory of the continents Asia and Europe?
SQL: SELECT sum(SurfaceArea) FROM country WHERE Continent  =  "Asia" OR Continent  =  "Europe"
Database: world_1
Question: Give the total surface area covered by countries in Asia or Europe.
Paraphrased question: Give the total territory covered by countries in Asia or Europe.
SQL: SELECT sum(SurfaceArea) FROM country WHERE Continent  =  "Asia" OR Continent  =  "Europe"
Database: world_1
Question: How many people live in Gelderland district?
Paraphrased question: How many people live in Gelderland district?
SQL: SELECT sum(Population) FROM city WHERE District  =  "Gelderland"
Database: world_1
Question: What is the total population of Gelderland district?
Paraphrased question: What is the total number of residents of Gelderland district?
SQL: SELECT sum(Population) FROM city WHERE District  =  "Gelderland"
Database: world_1
Question: What is the average GNP and total population in all nations whose government is US territory?
Paraphrased question: What is the average GNP and total number of people in all States whose government is US territory?
SQL: SELECT avg(GNP) ,  sum(population) FROM country WHERE GovernmentForm  =  "US Territory"
Database: world_1
Question: Give the mean GNP and total population of nations which are considered US territory.
Paraphrased question: Give the mean GNP and total number of people of nations which are considered US territory.
SQL: SELECT avg(GNP) ,  sum(population) FROM country WHERE GovernmentForm  =  "US Territory"
Database: world_1
Question: How many unique languages are spoken in the world?
Paraphrased question: How many unique languages are spoken in the world?
SQL: SELECT count(DISTINCT LANGUAGE) FROM countrylanguage
Database: world_1
Question: What is the number of distinct languages used around the world?
Paraphrased question: What is the number of distinct languages used around the world?
SQL: SELECT count(DISTINCT LANGUAGE) FROM countrylanguage
Database: world_1
Question: How many type of governments are in Africa?
Paraphrased question: How many type of governments are in Africa?
SQL: SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent  =  "Africa"
Database: world_1
Question: How many different forms of governments are there in Africa?
Paraphrased question: How many different types of governments are there in Africa?
SQL: SELECT count(DISTINCT GovernmentForm) FROM country WHERE Continent  =  "Africa"
Database: world_1
Question: What is the total number of languages used in Aruba?
Paraphrased question: What is the total number of languages used in Aruba?
SQL: SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Aruba"
Database: world_1
Question: How many languages are spoken in Aruba?
Paraphrased question: How many languages are spoken in Aruba?
SQL: SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Aruba"
Database: world_1
Question: How many official languages does Afghanistan have?
Paraphrased question: How many official languages does Afghanistan have?
SQL: SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Afghanistan" AND IsOfficial  =  "T"
Database: world_1
Question: How many official languages are spoken in Afghanistan?
Paraphrased question: How many official languages are spoken in Afghanistan?
SQL: SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Name  =  "Afghanistan" AND IsOfficial  =  "T"
Database: world_1
Question: What is name of the country that speaks the largest number of languages?
Paraphrased question: What is name of the nation that speaks the largest number of languages?
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1
Database: world_1
Question: Give the name of the nation that uses the greatest amount of languages.
Paraphrased question: Give the name of the State that uses the greatest amount of languages.
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1
Database: world_1
Question: Which continent has the most diverse languages?
Paraphrased question: Which continent has the most diverse languages?
SQL: SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1
Database: world_1
Question: Which continent speaks the most languages?
Paraphrased question: Which continent speaks the most languages?
SQL: SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1
Database: world_1
Question: How many countries speak both English and Dutch?
Paraphrased question: How many States speak both English and Dutch?
SQL: SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Dutch")
Database: world_1
Question: What is the number of nations that use English and Dutch?
Paraphrased question: What is the number of countries that use English and Dutch?
SQL: SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Dutch")
Database: world_1
Question: What are the names of nations speak both English and French?
Paraphrased question: What are the names of States speak both English and French?
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "French"
Database: world_1
Question: Give the names of nations that speak both English and French.
Paraphrased question: Give the names of countries that speak both English and French.
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "French"
Database: world_1
Question: What are the names of nations where both English and French are official languages?
Paraphrased question: What are the names of States where both English and French are official languages?
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND T2.IsOfficial  =  "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "French" AND T2.IsOfficial  =  "T"
Database: world_1
Question: Give the names of countries with English and French as official languages.
Paraphrased question: Give the names of nations with English and French as official languages.
SQL: SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND T2.IsOfficial  =  "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "French" AND T2.IsOfficial  =  "T"
Database: world_1
Question: What is the number of distinct continents where Chinese is spoken?
Paraphrased question: What is the number of distinct continents where Chinese is spoken?
SQL: SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Chinese"
Database: world_1
Question: How many continents speak Chinese?
Paraphrased question: How many continents speak Chinese?
SQL: SELECT COUNT( DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Chinese"
Database: world_1
Question: What are the regions that use English or Dutch?
Paraphrased question: What are the regions that use English or Dutch?
SQL: SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" OR T2.Language  =  "Dutch"
Database: world_1
Question: Which regions speak Dutch or English?
Paraphrased question: Which regions speak Dutch or English?
SQL: SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" OR T2.Language  =  "Dutch"
Database: world_1
Question: What are the countries where either English or Dutch is the official language?
Paraphrased question: What are the nations where either English or Dutch is the official language?
SQL: SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND IsOfficial  =  "T" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Dutch" AND IsOfficial  =  "T"
Database: world_1
Question: Which countries have either English or Dutch as an official language?
Paraphrased question: Which nations have either English or Dutch as an official language?
SQL: SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND IsOfficial  =  "T" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "Dutch" AND IsOfficial  =  "T"
Database: world_1
Question: Which language is the most popular on the Asian continent?
Paraphrased question: Which language is the most popular on the Asian continent?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Continent  =  "Asia" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1
Database: world_1
Question: What is the language that is used by the largest number of Asian nations?
Paraphrased question: What is the language that is used by the largest number of Asian nations?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.Continent  =  "Asia" GROUP BY T2.Language ORDER BY COUNT (*) DESC LIMIT 1
Database: world_1
Question: Which languages are spoken by only one country in republic governments?
Paraphrased question: Which languages are spoken by only one country in republic governments?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.GovernmentForm  =  "Republic" GROUP BY T2.Language HAVING COUNT(*)  =  1
Database: world_1
Question: What languages are only used by a single country with a republic government?
Paraphrased question: What languages are only used by a single country with a republic government?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.GovernmentForm  =  "Republic" GROUP BY T2.Language HAVING COUNT(*)  =  1
Database: world_1
Question: Find the city with the largest population that uses English.
Paraphrased question: Find the town with the largest number of people that uses English.
SQL: SELECT T1.Name ,  T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode  =  T2.CountryCode WHERE T2.Language  =  "English" ORDER BY T1.Population DESC LIMIT 1
Database: world_1
Question: What is the most populace city that speaks English?
Paraphrased question: What is the most populace city that speaks English?
SQL: SELECT T1.Name ,  T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode  =  T2.CountryCode WHERE T2.Language  =  "English" ORDER BY T1.Population DESC LIMIT 1
Database: world_1
Question: Find the name, population and expected life length of asian country with the largest area?
Paraphrased question: Find the name, populace and expected life length of asian country with the largest area?
SQL: SELECT Name ,  Population ,  LifeExpectancy FROM country WHERE Continent  =  "Asia" ORDER BY SurfaceArea DESC LIMIT 1
Database: world_1
Question: What are the name, population, and life expectancy of the largest Asian country by land?
Paraphrased question: What are the name, number of residents, and lifespan of the largest Asian country by land?
SQL: SELECT Name ,  Population ,  LifeExpectancy FROM country WHERE Continent  =  "Asia" ORDER BY SurfaceArea DESC LIMIT 1
Database: world_1
Question: What is average life expectancy in the countries where English is not the official language?
Paraphrased question: What is average lifespan in the nations where English is not the official language?
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND T2.IsOfficial  =  "T")
Database: world_1
Question: Give the mean life expectancy of countries in which English is not the official language.
Paraphrased question: Give the mean lifespan of nations in which English is not the official language.
SQL: SELECT avg(LifeExpectancy) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English" AND T2.IsOfficial  =  "T")
Database: world_1
Question: What is the total number of people living in the nations that do not use English?
Paraphrased question: What is the total number of people living in the nations that do not use English?
SQL: SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English")
Database: world_1
Question: How many people live in countries that do not speak English?
Paraphrased question: How many people live in nations that do not speak English?
SQL: SELECT sum(Population) FROM country WHERE Name NOT IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T2.Language  =  "English")
Database: world_1
Question: What is the official language spoken in the country whose head of state is Beatrix?
Paraphrased question: What is the official language spoken in the country whose head of state is Beatrix?
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.HeadOfState  =  "Beatrix" AND T2.IsOfficial  =  "T"
Database: world_1
Question: What is the official language used in the country the name of whose head of state is Beatrix.
Paraphrased question: What is the official language used in the country the name of whose leader of country is Beatrix.
SQL: SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE T1.HeadOfState  =  "Beatrix" AND T2.IsOfficial  =  "T"
Database: world_1
Question: What is the total number of unique official languages spoken in the countries that are founded before 1930?
Paraphrased question: What is the total number of unique official languages spoken in the nations that are founded before 1930?
SQL: SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE  IndepYear  <  1930 AND T2.IsOfficial  =  "T"
Database: world_1
Question: For the countries founded before 1930, what is the total number of distinct official languages?
Paraphrased question: For the nations founded before 1930, what is the total number of distinct official languages?
SQL: SELECT count(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode WHERE  IndepYear  <  1930 AND T2.IsOfficial  =  "T"
Database: world_1
Question: What are the countries that have greater surface area than any country in Europe?
Paraphrased question: What are the nations that have greater territory than any country in Europe?
SQL: SELECT Name FROM country WHERE SurfaceArea  >  (SELECT min(SurfaceArea) FROM country WHERE Continent  =  "Europe")
Database: world_1
Question: Which countries have greater area than that of any country in Europe?
Paraphrased question: Which countries have greater territory than that of any country in Europe?
SQL: SELECT Name FROM country WHERE SurfaceArea  >  (SELECT min(SurfaceArea) FROM country WHERE Continent  =  "Europe")
Database: world_1
Question: What are the African countries that have a  population less than any country in Asia?
Paraphrased question: What are the African nations that have a  number of residents less than any country in Asia?
SQL: SELECT Name FROM country WHERE Continent  =  "Africa"  AND population  <  (SELECT max(population) FROM country WHERE Continent  =  "Asia")
Database: world_1
Question: Which African countries have a smaller population than that of any country in Asia?
Paraphrased question: Which African nations have a smaller number of residents than that of any country in Asia?
SQL: SELECT Name FROM country WHERE Continent  =  "Africa"  AND population  <  (SELECT min(population) FROM country WHERE Continent  =  "Asia")
Database: world_1
Question: Which Asian countries have a population that is larger than any country in Africa?
Paraphrased question: Which Asian nations have a number of residents that is larger than any country in Africa?
SQL: SELECT Name FROM country WHERE Continent  =  "Asia"  AND population  >  (SELECT max(population) FROM country WHERE Continent  =  "Africa")
Database: world_1
Question: What are the Asian countries which have a population larger than that of any country in Africa?
Paraphrased question: What are the Asian States which have a number of residents larger than that of any country in Africa?
SQL: SELECT Name FROM country WHERE Continent  =  "Asia"  AND population  >  (SELECT min(population) FROM country WHERE Continent  =  "Africa")
Database: world_1
Question: What are the country codes for countries that do not speak English?
Paraphrased question: What are the nation abbreviations for nations that do not speak English?
SQL: SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  "English"
Database: world_1
Question: Return the country codes for countries that do not speak English.
Paraphrased question: Return the State abbreviations for States that do not speak English.
SQL: SELECT CountryCode FROM countrylanguage EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  "English"
Database: world_1
Question: What are the country codes of countries where people use languages other than English?
Paraphrased question: What are the nation abbreviations of nations where people use languages other than English?
SQL: SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != "English"
Database: world_1
Question: Give the country codes for countries in which people speak langauges that are not English.
Paraphrased question: Give the nation abbreviations for nations in which people speak langauges that are not English.
SQL: SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE != "English"
Database: world_1
Question: What are the codes of the countries that do not speak English and whose government forms are not Republic?
Paraphrased question: What are the abbreviations of the nations that do not speak English and whose government types are not Republic?
SQL: SELECT Code FROM country WHERE GovernmentForm != "Republic" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  "English"
Database: world_1
Question: Return the codes of countries that do not speak English and do not have Republics for governments.
Paraphrased question: Return the abbreviations of States that do not speak English and do not have Republics for governments.
SQL: SELECT Code FROM country WHERE GovernmentForm != "Republic" EXCEPT SELECT CountryCode FROM countrylanguage WHERE LANGUAGE  =  "English"
Database: world_1
Question: Which cities are in European countries where English is not the official language?
Paraphrased question: Which towns are in European countries where English is not the official language?
SQL: SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode  =  T1.Code WHERE T1.Continent  =  'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code  =  T4.CountryCode WHERE T4.IsOfficial  =  'T' AND T4.Language  =  'English')
Database: world_1
Question: What are the names of cities in Europe for which English is not the official language?
Paraphrased question: What are the names of towns in Europe for which English is not the official language?
SQL: SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode  =  T1.Code WHERE T1.Continent  =  'Europe' AND T1.Name NOT IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code  =  T4.CountryCode WHERE T4.IsOfficial  =  'T' AND T4.Language  =  'English')
Database: world_1
Question: Whic`h unique cities are in  Asian countries where Chinese is the official language?
Paraphrased question: Whic`h unique towns are in  Asian States where Chinese is the official language?
SQL: SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode JOIN city AS T3 ON T1.Code  =  T3.CountryCode WHERE T2.IsOfficial  =  'T' AND T2.Language  =  'Chinese' AND T1.Continent  =  "Asia"
Database: world_1
Question: Return the different names of cities that are in Asia and for which Chinese is the official language.
Paraphrased question: Return the different names of towns that are in Asia and for which Chinese is the official language.
SQL: SELECT DISTINCT T3.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode JOIN city AS T3 ON T1.Code  =  T3.CountryCode WHERE T2.IsOfficial  =  'T' AND T2.Language  =  'Chinese' AND T1.Continent  =  "Asia"
Database: world_1
Question: What are the name, independence year, and surface area of the country with the smallest population?
Paraphrased question: What are the name, founded year, and territory of the country with the smallest number of residents?
SQL: SELECT Name ,  SurfaceArea ,  IndepYear FROM country ORDER BY Population LIMIT 1
Database: world_1
Question: Give the name, year of independence, and surface area of the country that has the lowest population.
Paraphrased question: Give the name, year of founded, and territory of the country that has the lowest number of people.
SQL: SELECT Name ,  SurfaceArea ,  IndepYear FROM country ORDER BY Population LIMIT 1
Database: world_1
Question: What are the population, name and leader of the country with the largest area?
Paraphrased question: What are the number of residents, name and leader of the country with the largest area?
SQL: SELECT Name ,  population ,  HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1
Database: world_1
Question: Give the name, population, and head of state for the country that has the largest area.
Paraphrased question: Give the name, number of residents, and leader of country for the country that has the largest territory.
SQL: SELECT Name ,  population ,  HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1
Database: world_1
Question: Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.
Paraphrased question: Return the nation name and the numbers of languages spoken for each country that speaks at least 3 languages.
SQL: SELECT COUNT(T2.Language) ,  T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name HAVING COUNT(*)  >  2
Database: world_1
Question: What are the names of countries that speak more than 2 languages, as well as how many languages they speak?
Paraphrased question: What are the names of nations that speak more than 2 languages, as well as how many languages they speak?
SQL: SELECT COUNT(T2.Language) ,  T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code  =  T2.CountryCode GROUP BY T1.Name HAVING COUNT(*)  >  2
Database: world_1
Question: Find the number of cities in each district whose population is greater than the average population of cities?
Paraphrased question: Find the number of towns in each district whose number of residents is greater than the average population of towns?
SQL: SELECT count(*) ,  District FROM city WHERE Population  >  (SELECT avg(Population) FROM city) GROUP BY District