aherntech/spider-syn huggingface dataset:
Database: aircraft
Question: What is the name of the aircraft that has won an award the most?
Paraphrased question: What is the name of the airplane that has won an award the most?
SQL: SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1
Database: aircraft
Question: List the names of aircrafts and the number of times it won matches.
Paraphrased question: List the names of airplanes and the number of times it won matches.
SQL: SELECT T1.Aircraft ,  COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft
Database: aircraft
Question: For each aircraft that has won an award, what is its name and how many time has it won?
Paraphrased question: For each airplane that has won an award, what is its name and how many time has it won?
SQL: SELECT T1.Aircraft ,  COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft
Database: aircraft
Question: List names of all pilot in descending order of age.
Paraphrased question: List names of all aviator in descending order of age.
SQL: SELECT Name FROM pilot ORDER BY Age DESC
Database: aircraft
Question: What are the names of all pilots listed by descending age?
Paraphrased question: What are the names of all aviators listed by descending age?
SQL: SELECT Name FROM pilot ORDER BY Age DESC
Database: aircraft
Question: List the names of aircrafts and that won matches at least twice.
Paraphrased question: List the names of airplanes and that won matches at least twice.
SQL: SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*)  >=  2
Database: aircraft
Question: What are the names of all aircrafts that have won a match at least twice?
Paraphrased question: What are the names of all airplanes that have won a match at least twice?
SQL: SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID  =  T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*)  >=  2
Database: aircraft
Question: List the names of aircrafts and that did not win any match.
Paraphrased question: List the names of airplanes and that did not win any match.
SQL: SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)
Database: aircraft
Question: What are the names of all aicrafts that have never won any match?
Paraphrased question: What are the names of all airplanes that have never won any match?
SQL: SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)
Database: aircraft
Question: Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
Paraphrased question: Show the names of airplanes that are associated with both an aerodrome named "London Heathrow" and an aerodrome named "London Gatwick"
SQL: SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  "London Gatwick"
Database: aircraft
Question: What are the names of all aircrafts that are associated with both London Heathrow and Gatwick airports?
Paraphrased question: What are the names of all airplanes that are associated with both London Heathrow and Gatwick aerodromes?
SQL: SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID  =  T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID  =  T3.Airport_ID WHERE T3.Airport_Name  =  "London Gatwick"
Database: aircraft
Question: Show all information on the airport that has the largest number of international passengers.
Paraphrased question: Show all information on the aerodrome that has the largest number of international passengers.
SQL: SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1
Database: aircraft
Question: What is all the information on the airport with the largest number of international passengers?
Paraphrased question: What is all the information on the aerodrome with the largest number of international passengers?
SQL: SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1
Database: aircraft
Question: find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30.
Paraphrased question: find the name and age of the aviator who has won the most number of times among the aviators who are younger than 30.
SQL: SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot WHERE t1.age  <  30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1
Database: aircraft
Question: What is the name and age of the pilot younger than 30 who has won the most number of times?
Paraphrased question: What is the name and age of the aviator younger than 30 who has won the most number of times?
SQL: SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot WHERE t1.age  <  30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1
Database: aircraft
Question: what is the name and age of the youngest winning pilot?
Paraphrased question: what is the name and age of the youngest winning aviator?
SQL: SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot ORDER BY t1.age LIMIT 1
Database: aircraft
Question: How old is the youngest winning pilot and what is their name?
Paraphrased question: How old is the youngest winning aviator and what is their name?
SQL: SELECT t1.name ,  t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id  =  t2.winning_pilot ORDER BY t1.age LIMIT 1
Database: aircraft
Question: find the name of pilots who did not win the matches held in the country of Australia.
Paraphrased question: find the name of aviators who did not win the matches held in the country of Australia.
SQL: SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot  FROM MATCH WHERE country  =  'Australia')
Database: aircraft
Question: What are the names of the pilots that have not won any matches in Australia?
Paraphrased question: What are the names of the aviators that have not won any matches in Australia?
SQL: SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot  FROM MATCH WHERE country  =  'Australia')
Database: local_govt_and_lot
Question: How many residents does each property have? List property id and resident count.
Paraphrased question: How many inhabitants does each property have? List property id and inhabitant count.
SQL: SELECT T1.property_id ,  count(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id  =  T2.property_id GROUP BY T1.property_id
Database: local_govt_and_lot
Question: What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?
Paraphrased question: What is the different categories of service that are provided by the organization which has detail 'Denesik and Sons Party'?
SQL: SELECT DISTINCT T1.service_type_code FROM services AS T1 JOIN organizations AS T2 ON T1.organization_id  =  T2.organization_id WHERE T2.organization_details  =  'Denesik and Sons Party'
Database: local_govt_and_lot
Question: How many services has each resident requested? List the resident id, details, and the count in descending order of the count.
Paraphrased question: How many services has each inhabitant requested? List the inhabitant id, information, and the count in descending order of the count.
SQL: SELECT T1.resident_id ,  T1.other_details ,  count(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id  =  T2.resident_id GROUP BY T1.resident_id ORDER BY count(*) DESC
Database: local_govt_and_lot
Question: What is the maximum number that a certain service is provided? List the service id, details and number.
Paraphrased question: What is the maximum number that a certain service is provided? List the service id, information and number.
SQL: SELECT T1.service_id ,  T1.service_details ,  count(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id  =  T2.service_id GROUP BY T1.service_id ORDER BY count(*) DESC LIMIT 1
Database: local_govt_and_lot
Question: List the id and type of each thing, and the details of the organization that owns it.
Paraphrased question: List the id and category of each thing, and the information of the organization that owns it.
SQL: SELECT T1.thing_id ,  T1.type_of_Thing_Code ,  T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id  =  T2.organization_id
Database: local_govt_and_lot
Question: What are the id and details of the customers who have at least 3 events?
Paraphrased question: What are the id and information of the clients who have at least 3 events?
SQL: SELECT T1.customer_id ,  T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id  =  T2.customer_id GROUP BY T1.customer_id HAVING count(*)  >=  3
Database: local_govt_and_lot
Question: What is each customer's move in date, and the corresponding customer id and details?
Paraphrased question: What is each client's move in date, and the corresponding client id and information?
SQL: SELECT T2.date_moved_in ,  T1.customer_id ,  T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id  =  T2.customer_id
Database: local_govt_and_lot
Question: Which events have the number of notes between one and three? List the event id and the property id.
Paraphrased question: Which events have the number of notes between one and three? List the event id and the property id.
SQL: SELECT T1.Customer_Event_ID  ,  T1.property_id FROM Customer_Events AS T1 JOIN Customer_Event_Notes AS T2 ON T1.Customer_Event_ID  =  T2.Customer_Event_ID GROUP BY T1.customer_event_id HAVING count(*) BETWEEN 1 AND 3
Database: local_govt_and_lot
Question: What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'
Paraphrased question: What are the different id and category of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'
SQL: SELECT DISTINCT T2.thing_id ,  T2.Type_of_Thing_Code FROM Timed_Status_of_Things AS T1 JOIN Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.Status_of_Thing_Code  =  'Close' OR T1.Date_and_Date  <  '2017-06-19 02:59:21'
Database: local_govt_and_lot
Question: How many distinct locations have the things with service detail 'Unsatisfied' been located in?
Paraphrased question: How many different locations have the things with service information 'Unsatisfied' been located in?
SQL: SELECT count(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id  =  T2.thing_id WHERE T1.service_details  =  'Unsatisfied'
Database: local_govt_and_lot
Question: How many different status codes of things are there?
Paraphrased question: How many different status codes of things are there?
SQL: SELECT count(DISTINCT Status_of_Thing_Code) FROM Timed_Status_of_Things
Database: local_govt_and_lot
Question: Which organizations are not a parent organization of others? List the organization id.
Paraphrased question: Which organizations are not a parent organization of others? List the organization id.
SQL: SELECT organization_id FROM organizations EXCEPT SELECT parent_organization_id FROM organizations
Database: local_govt_and_lot
Question: When is the last day any resident moved in?
Paraphrased question: When is the last day any inhabitant moved in?
SQL: SELECT max(date_moved_in) FROM Residents
Database: local_govt_and_lot
Question: What are the resident details containing the substring 'Miss'?
Paraphrased question: What are the inhabitant information containing the substring 'Miss'?
SQL: SELECT other_details FROM Residents WHERE other_details LIKE '%Miss%'
Database: local_govt_and_lot
Question: List the customer event id and the corresponding move in date and property id.
Paraphrased question: List the client event id and the corresponding move in date and property id.
SQL: SELECT customer_event_id ,  date_moved_in ,  property_id FROM customer_events
Database: local_govt_and_lot
Question: How many customers did not have any event?
Paraphrased question: How many clients did not have any event?
SQL: SELECT count(*) FROM customers WHERE customer_id NOT IN ( SELECT customer_id FROM customer_events )
Database: local_govt_and_lot
Question: What are the distinct move in dates of the residents?
Paraphrased question: What are the different move in dates of the inhabitants?
SQL: SELECT DISTINCT date_moved_in FROM residents
Database: school_player
Question: How many schools are there?
Paraphrased question: How many schools are there?
SQL: SELECT count(*) FROM school
Database: school_player
Question: Count the number of schools.
Paraphrased question: Count the number of schools.
SQL: SELECT count(*) FROM school
Database: school_player
Question: List the locations of schools in ascending order of enrollment.
Paraphrased question: List the addresses of schools in ascending order of enrollment.
SQL: SELECT LOCATION FROM school ORDER BY Enrollment ASC
Database: school_player
Question: What is the list of school locations sorted in ascending order of school enrollment?
Paraphrased question: What is the list of school addresses sorted in ascending order of school enrollment?
SQL: SELECT LOCATION FROM school ORDER BY Enrollment ASC
Database: school_player
Question: List the locations of schools in descending order of founded year.
Paraphrased question: List the addresses of schools in descending order of founded year.
SQL: SELECT LOCATION FROM school ORDER BY Founded DESC
Database: school_player
Question: What is the list of school locations sorted in descending order of school foundation year?
Paraphrased question: What is the list of school addresses sorted in descending order of school foundation year?
SQL: SELECT LOCATION FROM school ORDER BY Founded DESC
Database: school_player
Question: What are the enrollments of schools whose denomination is not "Catholic"?
Paraphrased question: How many students are enrolled in the schools whose denomination is not "Catholic"?
SQL: SELECT Enrollment FROM school WHERE Denomination != "Catholic"
Database: school_player
Question: List the enrollment for each school that does not have "Catholic" as denomination.
Paraphrased question: List the number of students are enrolled in school that does not have "Catholic" as denomination.
SQL: SELECT Enrollment FROM school WHERE Denomination != "Catholic"
Database: school_player
Question: What is the average enrollment of schools?
Paraphrased question: What is the average number of students are enrolled in schools?
SQL: SELECT avg(Enrollment) FROM school
Database: school_player
Question: Take the average of the school enrollment.
Paraphrased question: Take the average number of students are enrolled in the schools.
SQL: SELECT avg(Enrollment) FROM school
Database: school_player
Question: What are the teams of the players, sorted in ascending alphabetical order?
Paraphrased question: What are the teams of the participants, sorted in ascending alphabetical order?
SQL: SELECT Team FROM player ORDER BY Team ASC
Database: school_player
Question: Find the team of each player and sort them in ascending alphabetical order.
Paraphrased question: Find the team of each participant and sort them in ascending alphabetical order.
SQL: SELECT Team FROM player ORDER BY Team ASC
Database: school_player
Question: How many different positions of players are there?
Paraphrased question: How many different positions of participants are there?
SQL: SELECT count(DISTINCT POSITION) FROM player
Database: school_player
Question: Count the number of distinct player positions.
Paraphrased question: Count the number of different participant positions.
SQL: SELECT count(DISTINCT POSITION) FROM player
Database: school_player
Question: Find the team of the player of the highest age.
Paraphrased question: Find the team of the participant of the highest age.
SQL: SELECT Team FROM player ORDER BY Age DESC LIMIT 1
Database: school_player
Question: Which team has the oldest player?
Paraphrased question: Which team has the oldest participant?
SQL: SELECT Team FROM player ORDER BY Age DESC LIMIT 1
Database: school_player
Question: List the teams of the players with the top 5 largest ages.
Paraphrased question: List the teams of the participants with the top 5 largest ages.
SQL: SELECT Team FROM player ORDER BY Age DESC LIMIT 5
Database: school_player
Question: What are the teams that have the 5 oldest players?
Paraphrased question: What are the teams that have the 5 oldest participants?
SQL: SELECT Team FROM player ORDER BY Age DESC LIMIT 5
Database: school_player
Question: For each player, show the team and the location of school they belong to.
Paraphrased question: For each participant, show the team and the address of school they belong to.
SQL: SELECT T1.Team ,  T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID
Database: school_player
Question: What are the team and the location of school each player belongs to?
Paraphrased question: What are the team and the address of school each participant belongs to?
SQL: SELECT T1.Team ,  T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID
Database: school_player
Question: Show the locations of schools that have more than 1 player.
Paraphrased question: Show the addresses of schools that have more than 1 player.
SQL: SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*)  >  1
Database: school_player
Question: Which schools have more than 1 player? Give me the school locations.
Paraphrased question: Which schools have more than 1 player? Give me the school addresses.
SQL: SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*)  >  1
Database: school_player
Question: Show the denomination of the school that has the most players.
Paraphrased question: Show the denomination of the school that has the most participants.
SQL: SELECT T2.Denomination FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID ORDER BY COUNT(*) DESC LIMIT 1
Database: school_player
Question: What is the denomination of the school the most players belong to?
Paraphrased question: What is the denomination of the school the most participants belong to?
SQL: SELECT T2.Denomination FROM player AS T1 JOIN school AS T2 ON T1.School_ID  =  T2.School_ID GROUP BY T1.School_ID ORDER BY COUNT(*) DESC LIMIT 1
Database: school_player
Question: Show locations and nicknames of schools.
Paraphrased question: Show addresses and monicker of schools.
SQL: SELECT T1.Location ,  T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID  =  T2.School_ID
Database: school_player
Question: What are the location and nickname of each school?
Paraphrased question: What are the address and monicker of each school?
SQL: SELECT T1.Location ,  T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID  =  T2.School_ID
Database: school_player
Question: Please show different denominations and the corresponding number of schools.
Paraphrased question: Please show different denominations and the corresponding number of schools.
SQL: SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination
Database: school_player
Question: For each denomination, return the denomination and the count of schools with that denomination.
Paraphrased question: For each denomination, return the denomination and the count of schools with that denomination.
SQL: SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination
Database: school_player
Question: Please show different denominations and the corresponding number of schools in descending order.
Paraphrased question: Please show different denominations and the corresponding number of schools in descending order.
SQL: SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC
Database: school_player
Question: Order denominations in descending order of the count of schools with the denomination. Return each denomination with the count of schools.
Paraphrased question: Order denominations in descending order of the count of schools with the denomination. Return each denomination with the count of schools.
SQL: SELECT Denomination ,  COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC
Database: school_player
Question: List the school color of the school that has the largest enrollment.
Paraphrased question: List the school colour of the school that has the largest enrollment.
SQL: SELECT School_Colors FROM school ORDER BY Enrollment DESC LIMIT 1
Database: school_player
Question: What is the school color of the school with the largest enrollment?
Paraphrased question: What is the school colour of the school with the largest enrollment?
SQL: SELECT School_Colors FROM school ORDER BY Enrollment DESC LIMIT 1
Database: school_player
Question: List the locations of schools that do not have any player.
Paraphrased question: List the addresses of schools that do not have any player.
SQL: SELECT LOCATION FROM school WHERE School_ID NOT IN (SELECT School_ID FROM Player)
Database: school_player
Question: Which schools do not have any player? Give me the school locations.
Paraphrased question: Which schools do not have any player? Give me the school addresses.
SQL: SELECT LOCATION FROM school WHERE School_ID NOT IN (SELECT School_ID FROM Player)
Database: school_player
Question: Show the denomination shared by schools founded before 1890 and schools founded after 1900
Paraphrased question: Show the denomination shared by schools founded before 1890 and schools founded after 1900
SQL: SELECT Denomination FROM school WHERE Founded  <  1890 INTERSECT SELECT Denomination FROM school WHERE Founded  >  1900
Database: school_player
Question: What are the denominations used by both schools founded before 1890 and schools founded  after 1900?
Paraphrased question: What are the denominations used by both schools founded before 1890 and schools founded  after 1900?
SQL: SELECT Denomination FROM school WHERE Founded  <  1890 INTERSECT SELECT Denomination FROM school WHERE Founded  >  1900
Database: school_player
Question: Show the nicknames of schools that are not in division 1.
Paraphrased question: Show the monicker of schools that are not in division 1.
SQL: SELECT Nickname FROM school_details WHERE Division != "Division 1"
Database: school_player
Question: What are the nicknames of schools whose division is not 1?
Paraphrased question: What are the monicker of schools whose division is not 1?
SQL: SELECT Nickname FROM school_details WHERE Division != "Division 1"
Database: school_player
Question: Show the denomination shared by more than one school.
Paraphrased question: Show the denomination shared by more than one school.
SQL: SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*)  >  1
Database: school_player
Question: What are the denomination more than one school have?
Paraphrased question: What are the denomination more than one school have?
SQL: SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*)  >  1
Database: store_product
Question: Find all the distinct district names ordered by city area in descending.
Paraphrased question: Find all the different region names ordered by city area in descending.
SQL: SELECT DISTINCT District_name FROM district ORDER BY city_area DESC
Database: store_product
Question: What are the different district names in order of descending city area?
Paraphrased question: What are the different region names in order of descending city area?
SQL: SELECT DISTINCT District_name FROM district ORDER BY city_area DESC
Database: store_product
Question: Find the list of page size which have more than 3 product listed
Paraphrased question: Find the list of page size which have more than 3 goods listed
SQL: SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*)  >  3
Database: store_product
Question: What is the maximum page size for everything that has more than 3 products listed?
Paraphrased question: What is the maximum page size for everything that has more than 3 goods listed?
SQL: SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*)  >  3
Database: store_product
Question: Find the name and population of district with population between 200000 and 2000000
Paraphrased question: Find the name and populace of region with populace between 200000 and 2000000
SQL: SELECT District_name ,  City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
Database: store_product
Question: What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents?
Paraphrased question: What are the region names and city populace for all regions that between 200,000 and 2,000,000 residents?
SQL: SELECT District_name ,  City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
Database: store_product
Question: Find the name all districts with city area greater than 10 or population larger than 100000
Paraphrased question: Find the name all regions with city area greater than 10 or the number of people larger than 100000
SQL: SELECT district_name FROM district WHERE city_area  >  10 OR City_Population  >  100000
Database: store_product
Question: What are the names of all districts with a city area greater than 10 or have more than 100000 people living there?
Paraphrased question: What are the names of all regions with a city area greater than 10 or have more than 100000 people living there?
SQL: SELECT district_name FROM district WHERE city_area  >  10 OR City_Population  >  100000
Database: store_product
Question: Which district has the largest population?
Paraphrased question: Which region has the largest population?
SQL: SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
Database: store_product
Question: What is the name of the district with the most residents?
Paraphrased question: What is the name of the region with the most residents?
SQL: SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
Database: store_product
Question: Which district has the least area?
Paraphrased question: Which region has the least area?
SQL: SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1
Database: store_product
Question: What is the name of the district with the smallest area?
Paraphrased question: What is the name of the region with the smallest area?
SQL: SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1
Database: store_product
Question: Find the total population of the top 3 districts with the largest area.
Paraphrased question: Find the total number of people of the top 3 districts with the largest area.
SQL: SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3
Database: store_product
Question: What is the total number of residents for the districts with the 3 largest areas?
Paraphrased question: What is the total number of residents for the districts with the 3 largest areas?
SQL: SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3
Database: store_product
Question: Find all types of store and number of them.
Paraphrased question: Find all categories of store and number of them.
SQL: SELECT TYPE ,  count(*) FROM store GROUP BY TYPE
Database: store_product
Question: For each type of store, how many of them are there?
Paraphrased question: For each category of store, how many of them are there?
SQL: SELECT TYPE ,  count(*) FROM store GROUP BY TYPE
Database: store_product
Question: Find the names of all stores in Khanewal District.
Paraphrased question: Find the names of all stores in Khanewal District.
SQL: SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t3.district_name  =  "Khanewal District"
Database: store_product
Question: What are the names of all the stores located in Khanewal District?
Paraphrased question: What are the names of all the stores located in Khanewal District?
SQL: SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t3.district_name  =  "Khanewal District"
Database: store_product
Question: Find all the stores in the district with the most population.
Paraphrased question: Find all the stores in the district with the most populace.
SQL: SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id WHERE district_id  =  (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)
Database: store_product
Question: What are the names of all the stores in the largest district by population?
Paraphrased question: What are the names of all the stores in the largest district by the number of people?
SQL: SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id WHERE district_id  =  (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)
Database: store_product
Question: Which city is the headquarter of the store named "Blackville" in?
Paraphrased question: Which city is the head office of the store named "Blackville" in?
SQL: SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.store_name  =  "Blackville"
Database: store_product
Question: What city is the headquarter of the store Blackville?
Paraphrased question: What city is the head office of the store Blackville?
SQL: SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.store_name  =  "Blackville"
Database: store_product
Question: Find the number of stores in each city.
Paraphrased question: Find the number of stores in each city.
SQL: SELECT t3.headquartered_city ,  count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city
Database: store_product
Question: How many stores are headquarted in each city?
Paraphrased question: How many stores are headquarted in each city?
SQL: SELECT t3.headquartered_city ,  count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city
Database: store_product
Question: Find the city with the most number of stores.
Paraphrased question: Find the city with the most number of stores.
SQL: SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1
Database: store_product
Question: What is the city with the most number of flagship stores?
Paraphrased question: What is the city with the most number of flagship stores?
SQL: SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1
Database: store_product
Question: What is the average pages per minute color?
Paraphrased question: What is the average pages per minute colour?
SQL: SELECT avg(pages_per_minute_color) FROM product
Database: store_product
Question: What is the average number of pages per minute color?
Paraphrased question: What is the average number of pages per minute colour?
SQL: SELECT avg(pages_per_minute_color) FROM product
Database: store_product
Question: What products are available at store named "Miramichi"?
Paraphrased question: What goods are available at store named "Miramichi"?
SQL: SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id  =  t2.product_id JOIN store AS t3 ON t2.store_id  =  t3.store_id WHERE t3.store_name  =  "Miramichi"
Database: store_product
Question: What products are sold at the store named Miramichi?
Paraphrased question: What goods are sold at the store named Miramichi?
SQL: SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id  =  t2.product_id JOIN store AS t3 ON t2.store_id  =  t3.store_id WHERE t3.store_name  =  "Miramichi"
Database: store_product
Question: Find products with max page size as "A4" and pages per minute color smaller than 5.
Paraphrased question: Find goods with max page size as "A4" and pages per minute color smaller than 5.
SQL: SELECT product FROM product WHERE max_page_size  =  "A4" AND pages_per_minute_color  <  5
Database: store_product
Question: What are the products with the maximum page size A4 that also have a pages per minute color smaller than 5?
Paraphrased question: What are the goods with the maximum page size A4 that also have a pages per minute color smaller than 5?
SQL: SELECT product FROM product WHERE max_page_size  =  "A4" AND pages_per_minute_color  <  5
Database: store_product
Question: Find products with max page size as "A4" or pages per minute color smaller than 5.
Paraphrased question: Find goods with max page size as "A4" or pages per minute color smaller than 5.
SQL: SELECT product FROM product WHERE max_page_size  =  "A4" OR pages_per_minute_color  <  5
Database: store_product
Question: What are the products with the maximum page size eqal to A4 or a pages per minute color less than 5?
Paraphrased question: What are the goods with the maximum page size eqal to A4 or a pages per minute color less than 5?
SQL: SELECT product FROM product WHERE max_page_size  =  "A4" OR pages_per_minute_color  <  5
Database: store_product
Question: Find all the product whose name contains the word "Scanner".
Paraphrased question: Find all the goods whose name contains the word "Scanner".
SQL: SELECT product FROM product WHERE product LIKE "%Scanner%"
Database: store_product
Question: What are all of the products whose name includes the substring "Scanner"?
Paraphrased question: What are all of the goods whose name includes the substring "Scanner"?
SQL: SELECT product FROM product WHERE product LIKE "%Scanner%"
Database: store_product
Question: Find the most prominent max page size among all the products.
Paraphrased question: Find the most prominent max page size among all the goods.
SQL: SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1
Database: store_product
Question: What is the most common maximum page size?
Paraphrased question: What is the most common maximum page size?
SQL: SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1
Database: store_product
Question: Find the name of the products that are not using the most frequently-used max page size.
Paraphrased question: Find the name of the goods that are not using the most frequently-used max page size.
SQL: SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)
Database: store_product
Question: What are the names of all products that are not the most frequently-used maximum page size?
Paraphrased question: What are the names of all goods that are not the most frequently-used maximum page size?
SQL: SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)
Database: store_product
Question: Find the total population of the districts where the area is bigger than the average city area.
Paraphrased question: Find the total populace of the districts where the area is bigger than the average city area.
SQL: SELECT sum(city_population) FROM district WHERE city_area  >  (SELECT avg(city_area) FROM district)
Database: store_product
Question: What is the total population for all the districts that have an area larger tahn the average city area?
Paraphrased question: What is the total populace for all the districts that have an area larger tahn the average city area?
SQL: SELECT sum(city_population) FROM district WHERE city_area  >  (SELECT avg(city_area) FROM district)
Database: store_product
Question: Find the names of districts where have both city mall and village store type stores.
Paraphrased question: Find the names of regions where have both city mall and village store type stores.
SQL: SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  "City Mall" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  "Village Store"
Database: store_product
Question: What are the names of the districts that have both mall and village store style shops?
Paraphrased question: What are the names of the regions that have both mall and village store style stores?
SQL: SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  "City Mall" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id  =  t2.store_id JOIN district AS t3 ON t2.district_id  =  t3.district_id WHERE t1.Type  =  "Village Store"
Database: soccer_2
Question: What is the total enrollment number of all colleges?
Paraphrased question: What is the total number of students are enrolled in all colleges?
SQL: SELECT sum(enr) FROM College
Database: soccer_2
Question: How many students are enrolled in college?
Paraphrased question: How many students are enrolled in college?
SQL: SELECT sum(enr) FROM College
Database: soccer_2
Question: What is the average enrollment number?
Paraphrased question: What is the average number of students are enrolled in college?
SQL: SELECT avg(enr) FROM College
Database: soccer_2
Question: How many students, on average, does each college have enrolled?
Paraphrased question: How many students, on average, does each school have enrolled?
SQL: SELECT avg(enr) FROM College
Database: soccer_2
Question: How many colleges in total?
Paraphrased question: How many schools in total?
SQL: SELECT count(*) FROM College
Database: soccer_2
Question: How many different colleges are there?
Paraphrased question: How many different schools are there?
SQL: SELECT count(*) FROM College
Database: soccer_2
Question: How many players have more than 1000 hours of training?
Paraphrased question: How many participants have more than 1000 hours of training?
SQL: SELECT count(*) FROM Player WHERE HS  >  1000
Database: soccer_2
Question: How many different players trained for more than 1000 hours?
Paraphrased question: How many different participants trained for more than 1000 hours?
SQL: SELECT count(*) FROM Player WHERE HS  >  1000
Database: soccer_2
Question: How many colleges has more than 15000 students?
Paraphrased question: How many schools has more than 15000 students?
SQL: SELECT count(*) FROM College WHERE enr  >  15000
Database: soccer_2
Question: What is the number of colleges with a student population greater than 15000?
Paraphrased question: What is the number of schools with a student population greater than 15000?
SQL: SELECT count(*) FROM College WHERE enr  >  15000
Database: soccer_2
Question: What is the average training hours of all players?
Paraphrased question: What is the average training hours of all participants?
SQL: SELECT avg(HS) FROM Player
Database: soccer_2
Question: How many hours do the players train on average?
Paraphrased question: How many hours do the participants train on average?
SQL: SELECT avg(HS) FROM Player
Database: soccer_2
Question: Find the name and training hours of players whose hours are below 1500.
Paraphrased question: Find the name and training hours of participants whose hours are below 1500.
SQL: SELECT pName ,  HS FROM Player WHERE HS  <  1500
Database: soccer_2
Question: What are the names and number of hours spent training for each player who trains for less than 1500 hours?
Paraphrased question: What are the names and number of hours spent training for each participant who trains for less than 1500 hours?
SQL: SELECT pName ,  HS FROM Player WHERE HS  <  1500
Database: soccer_2
Question: How many different colleges do attend the tryout test?
Paraphrased question: How many different schools do attend the tryout test?
SQL: SELECT count(DISTINCT cName) FROM tryout
Database: soccer_2
Question: How many different colleges were represented at tryouts?
Paraphrased question: How many different schools were represented at tryouts?
SQL: SELECT count(DISTINCT cName) FROM tryout
Database: soccer_2
Question: What are the unique types of player positions in the tryout?
Paraphrased question: What are the unique types of player positions in the tryout?
SQL: SELECT count(DISTINCT pPos) FROM tryout
Database: soccer_2
Question: What are the different types of player positions?
Paraphrased question: What are the different types of player positions?
SQL: SELECT count(DISTINCT pPos) FROM tryout
Database: soccer_2
Question: How many students got accepted after the tryout?
Paraphrased question: How many students got accepted after the tryout?
SQL: SELECT count(*) FROM tryout WHERE decision  =  'yes'
Database: soccer_2
Question: How many students received a yes from tryouts?
Paraphrased question: How many students received a yes from tryouts?
SQL: SELECT count(*) FROM tryout WHERE decision  =  'yes'
Database: soccer_2
Question: How many students whose are playing the role of goalie?
Paraphrased question: How many students whose are playing the role of goalie?
SQL: SELECT count(*) FROM tryout WHERE pPos  =  'goalie'
Database: soccer_2
Question: What is the number of students playing as a goalie?
Paraphrased question: What is the number of students playing as a goalie?
SQL: SELECT count(*) FROM tryout WHERE pPos  =  'goalie'
Database: soccer_2
Question: Find the max, average and min training hours of all players.
Paraphrased question: Find the max, average and min training hours of all participants.
SQL: SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player
Database: soccer_2
Question: What is the average, maximum, and minimum for the number of hours spent training?
Paraphrased question: What is the average, maximum, and minimum for the number of hours spent training?
SQL: SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player
Database: soccer_2
Question: What is average enrollment of colleges in the state FL?
Paraphrased question: What is average number of students enrolled in colleges in the state FL?
SQL: SELECT avg(enr) FROM College WHERE state  =  'FL'
Database: soccer_2
Question: What is average number of students enrolled in Florida colleges?
Paraphrased question: What is average number of students enrolled in Florida colleges?
SQL: SELECT avg(enr) FROM College WHERE state  =  'FL'
Database: soccer_2
Question: What are the names of players whose training hours is between 500 and 1500?
Paraphrased question: What are the names of participants whose training hours is between 500 and 1500?
SQL: SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
Database: soccer_2
Question: What are the names of players who train between 500 and 1500 hours?
Paraphrased question: What are the names of participants who train between 500 and 1500 hours?
SQL: SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
Database: soccer_2
Question: Find the players whose names contain letter 'a'.
Paraphrased question: Find the participants whose names contain letter 'a'.
SQL: SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
Database: soccer_2
Question: Who are the players that have names containing the letter a?
Paraphrased question: Who are the participants that have names containing the letter a?
SQL: SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
Database: soccer_2
Question: Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.
Paraphrased question: Find the name, number of students enrolled in colleges whose size is bigger than 10000 and location is in state LA.
SQL: SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = "LA"
Database: soccer_2
Question: What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?
Paraphrased question: What are the names and number of students enrolled in colleges that have more than 10000 enrolled and are located in Louisiana?
SQL: SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = "LA"
Database: soccer_2
Question: List all information about college sorted by enrollment number in the ascending order.
Paraphrased question: List all detail about school sorted by enrollment number in the ascending order.
SQL: SELECT * FROM College ORDER BY enr
Database: soccer_2
Question: What information do you have on colleges sorted by increasing enrollment numbers?
Paraphrased question: What detail do you have on colleges sorted by increasing enrollment numbers?
SQL: SELECT * FROM College ORDER BY enr
Database: soccer_2
Question: List the name of the colleges whose enrollment is greater 18000 sorted by the college's name.
Paraphrased question: List the name of the schools whose enrollment is greater 18000 sorted by the school's name.
SQL: SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName
Database: soccer_2
Question: What is the name of every college in alphabetical order that has more than 18000 students enrolled?
Paraphrased question: What is the name of every school in alphabetical order that has more than 18000 students enrolled?
SQL: SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName
Database: soccer_2
Question: Find the name of players whose card is yes in the descending order of training hours.
Paraphrased question: Find the name of participants whose card is yes in the descending order of training hours.
SQL: SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC
Database: soccer_2
Question: What are the name of the players who received a card in descending order of the hours of training?
Paraphrased question: What are the name of the participants who received a card in descending order of the hours of training?
SQL: SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC
Database: soccer_2
Question: Find the name of different colleges involved in the tryout in alphabetical order.
Paraphrased question: Find the name of different schools involved in the tryout in alphabetical order.
SQL: SELECT DISTINCT cName FROM tryout ORDER BY cName
Database: soccer_2
Question: What are the different names of the colleges involved in the tryout in alphabetical order?
Paraphrased question: What are the different names of the schools involved in the tryout in alphabetical order?
SQL: SELECT DISTINCT cName FROM tryout ORDER BY cName
Database: soccer_2
Question: Which position is most popular among players in the tryout?
Paraphrased question: Which position is most popular among players in the tryout?
SQL: SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
Database: soccer_2
Question: What was the most popular position at tryouts?
Paraphrased question: What was the most popular position at tryouts?
SQL: SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
Database: soccer_2
Question: Find the number of students who participate in the tryout for each college ordered by descending count.
Paraphrased question: Find the number of students who participate in the tryout for each college ordered by descending count.
SQL: SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC
Database: soccer_2
Question: How many students participated in tryouts for each college by descennding count?
Paraphrased question: How many students participated in tryouts for each college by descennding count?
SQL: SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC