aherntech/spider-syn huggingface dataset:
Database: car_1
Question: What is the number of cars with a greater accelerate than the one with the most horsepower?
Paraphrased question: What is the number of automobiles with a greater accelerate than the one with the most power?
SQL: SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate  >  ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );
Database: car_1
Question: How many countries has more than 2 car makers?
Paraphrased question: How many States has more than 2 car manufacturers?
SQL: SELECT COUNT(*) FROM ( SELECT T1.CountryId ,  COUNT(*) FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.CountryId HAVING count(*)  >  2 );
Database: car_1
Question: What is the number of countries with more than 2 car makers?
Paraphrased question: What is the number of States with more than 2 car manufacturers?
SQL: SELECT COUNT(*) FROM ( SELECT T1.CountryId ,  COUNT(*) FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.CountryId HAVING count(*)  >  2 );
Database: car_1
Question: How many cars has over 6 cylinders?
Paraphrased question: How many automobiles has over 6 cylinders?
SQL: SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders  >  6;
Database: car_1
Question: What is the number of cars with over 6 cylinders?
Paraphrased question: What is the number of automobiles with over 6 cylinders?
SQL: SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders  >  6;
Database: car_1
Question: For the cars with 4 cylinders, which model has the largest horsepower?
Paraphrased question: For the automobiles with 4 cylinders, which model has the largest power?
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.Cylinders  =  4 ORDER BY T2.horsepower DESC LIMIT 1;
Database: car_1
Question: For all of the 4 cylinder cars, which model has the most horsepower?
Paraphrased question: For all of the 4 cylinder automobiles, which model has the most power?
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.Cylinders  =  4 ORDER BY T2.horsepower DESC LIMIT 1;
Database: car_1
Question: Among the cars with more than lowest horsepower, which ones do not have more than 3 cylinders? List the car makeid and make name.
Paraphrased question: Among the automobiles with more than lowest power, which ones do not have more than 3 cylinders? List the vehicle makeid and manufacturer name.
SQL: SELECT T2.MakeId ,  T2.Make FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T1.Horsepower  >  (SELECT min(Horsepower) FROM CARS_DATA) AND T1.Cylinders  <=  3;
Database: car_1
Question: Among the cars that do not have the minimum horsepower, what are the make ids and names of al those with less than 4 cylinders?
Paraphrased question: Among the automobiles that do not have the minimum power, what are the manufacturer ids and names of al those with less than 4 cylinders?
SQL: SELECT T2.MakeId ,  T2.Make FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T1.Horsepower  >  (SELECT min(Horsepower) FROM CARS_DATA) AND T1.Cylinders  <  4;
Database: car_1
Question: What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980?
Paraphrased question: What is the maximum miles per gallon of the automobile with 8 cylinders or produced before 1980?
SQL: SELECT mpg FROM CARS_DATA WHERE Cylinders  =  8 OR YEAR  <  1980 ORDER BY mpg DESC LIMIT 1;
Database: car_1
Question: What is the maximum mpg of the cars that had 8 cylinders or that were produced before 1980?
Paraphrased question: What is the maximum mpg of the automobiles that had 8 cylinders or that were produced before 1980?
SQL: SELECT mpg FROM CARS_DATA WHERE Cylinders  =  8 OR YEAR  <  1980 ORDER BY mpg DESC LIMIT 1;
Database: car_1
Question: Which models are lighter than 3500 but not built by the 'Ford Motor Company'?
Paraphrased question: Which models are lighter than 3500 but not built by the 'Ford Motor Company'?
SQL: SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model  =  T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId  =  T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker  =  T4.Id WHERE T3.weight  <  3500 AND T4.FullName != 'Ford Motor Company';
Database: car_1
Question: What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?
Paraphrased question: What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?
SQL: SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model  =  T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId  =  T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker  =  T4.Id WHERE T3.weight  <  3500 AND T4.FullName != 'Ford Motor Company';
Database: car_1
Question: What are the name of the countries where there is not a single car maker?
Paraphrased question: What are the name of the States where there is not a single automobile maker?
SQL: SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId  =  T2.Country;
Database: car_1
Question: What are the names of the countries with no car makers?
Paraphrased question: What are the names of the States with no vehicle manufacturers?
SQL: SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId  =  T2.Country;
Database: car_1
Question: Which are the car makers which produce at least 2 models and more than 3 car makes? List the id and the maker.
Paraphrased question: Which are the automobile manufacturers which produce at least 2 models and more than 3 automobile manufacturers? List the id and the manufacturer.
SQL: SELECT T1.Id ,  T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id HAVING count(*)  >=  2 INTERSECT SELECT T1.Id ,  T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker JOIN CAR_NAMES AS T3 ON T2.model  =  T3.model GROUP BY T1.Id HAVING count(*)  >  3;
Database: car_1
Question: What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?
Paraphrased question: What are the ids and manufacturers of all automobile manufacturers that produce at least 2 models and make more than 3 automobiles?
SQL: SELECT T1.Id ,  T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id HAVING count(*)  >=  2 INTERSECT SELECT T1.Id ,  T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker JOIN CAR_NAMES AS T3 ON T2.model  =  T3.model GROUP BY T1.Id HAVING count(*)  >  3;
Database: car_1
Question: What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?
Paraphrased question: What are the id and names of the nations which have more than 3 vehicle manufacturers or produce the 'fiat' model?
SQL: SELECT T1.countryId ,  T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.countryId HAVING count(*)  >  3 UNION SELECT T1.countryId ,  T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country JOIN MODEL_LIST AS T3 ON T2.Id  =  T3.Maker WHERE T3.Model  =  'fiat';
Database: car_1
Question: What are the ids and names of all countries that either have more than 3 car makers or produce fiats?
Paraphrased question: What are the ids and names of all States that either have more than 3 automobile manufacturers or produce fiats?
SQL: SELECT T1.countryId ,  T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.countryId HAVING count(*)  >  3 UNION SELECT T1.countryId ,  T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country JOIN MODEL_LIST AS T3 ON T2.Id  =  T3.Maker WHERE T3.Model  =  'fiat';
Database: flight_2
Question: Which country does Airline "JetBlue Airways" belong to?
Paraphrased question: Which State does Airways "JetBlue Airways" belong to?
SQL: SELECT Country FROM AIRLINES WHERE Airline  =  "JetBlue Airways"
Database: flight_2
Question: What country is Jetblue Airways affiliated with?
Paraphrased question: What State is Jetblue Airways affiliated with?
SQL: SELECT Country FROM AIRLINES WHERE Airline  =  "JetBlue Airways"
Database: flight_2
Question: What is the abbreviation of Airline "JetBlue Airways"?
Paraphrased question: What is the shortened word of Airline "JetBlue Airways"?
SQL: SELECT Abbreviation FROM AIRLINES WHERE Airline  =  "JetBlue Airways"
Database: flight_2
Question: Which abbreviation corresponds to Jetblue Airways?
Paraphrased question: Which shortened word corresponds to Jetblue Airways?
SQL: SELECT Abbreviation FROM AIRLINES WHERE Airline  =  "JetBlue Airways"
Database: flight_2
Question: List all airline names and their abbreviations in "USA".
Paraphrased question: List all airway names and their shortened word in "USA".
SQL: SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  "USA"
Database: flight_2
Question: What are the airline names and abbreviations for airlines in the USA?
Paraphrased question: What are the airway names and shortened words for airways in the USA?
SQL: SELECT Airline ,  Abbreviation FROM AIRLINES WHERE Country  =  "USA"
Database: flight_2
Question: List the airport code and name in the city of Anthony.
Paraphrased question: List the airport code and name in the city of Anthony.
SQL: SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  "Anthony"
Database: flight_2
Question: Give the airport code and airport name corresonding to the city Anthony.
Paraphrased question: Give the airport code and airport name corresonding to the city Anthony.
SQL: SELECT AirportCode ,  AirportName FROM AIRPORTS WHERE city  =  "Anthony"
Database: flight_2
Question: How many airlines do we have?
Paraphrased question: How many airways do we have?
SQL: SELECT count(*) FROM AIRLINES
Database: flight_2
Question: What is the total number of airlines?
Paraphrased question: What is the total amount of airways?
SQL: SELECT count(*) FROM AIRLINES
Database: flight_2
Question: How many airports do we have?
Paraphrased question: How many aerodromes do we have?
SQL: SELECT count(*) FROM AIRPORTS
Database: flight_2
Question: Return the number of  airports.
Paraphrased question: Return the number of  aerodromes.
SQL: SELECT count(*) FROM AIRPORTS
Database: flight_2
Question: How many flights do we have?
Paraphrased question: How many flights do we have?
SQL: SELECT count(*) FROM FLIGHTS
Database: flight_2
Question: Return the number of flights.
Paraphrased question: Return the number of flights.
SQL: SELECT count(*) FROM FLIGHTS
Database: flight_2
Question: Which airline has abbreviation 'UAL'?
Paraphrased question: Which airway can be shortened as word 'UAL'?
SQL: SELECT Airline FROM AIRLINES WHERE Abbreviation  =  "UAL"
Database: flight_2
Question: Give the airline with abbreviation 'UAL'.
Paraphrased question: Give the airway with abbreviation 'UAL'.
SQL: SELECT Airline FROM AIRLINES WHERE Abbreviation  =  "UAL"
Database: flight_2
Question: How many airlines are from USA?
Paraphrased question: How many airways are from USA?
SQL: SELECT count(*) FROM AIRLINES WHERE Country  =  "USA"
Database: flight_2
Question: Return the number of airlines in the USA.
Paraphrased question: Return the number of airways in the USA.
SQL: SELECT count(*) FROM AIRLINES WHERE Country  =  "USA"
Database: flight_2
Question: Which city and country is the Alton airport at?
Paraphrased question: Which town and State is the Alton airport at?
SQL: SELECT City ,  Country FROM AIRPORTS WHERE AirportName  =  "Alton"
Database: flight_2
Question: Give the city and country for the Alton airport.
Paraphrased question: Give the town and State for the Alton airport.
SQL: SELECT City ,  Country FROM AIRPORTS WHERE AirportName  =  "Alton"
Database: flight_2
Question: What is the airport name for airport 'AKO'?
Paraphrased question: What is the aerodrome name for airport 'AKO'?
SQL: SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  "AKO"
Database: flight_2
Question: Return the name of the airport with code 'AKO'.
Paraphrased question: Return the name of the aerodrome with code 'AKO'.
SQL: SELECT AirportName FROM AIRPORTS WHERE AirportCode  =  "AKO"
Database: flight_2
Question: What are airport names at City 'Aberdeen'?
Paraphrased question: What are aerodrome names at town 'Aberdeen'?
SQL: SELECT AirportName FROM AIRPORTS WHERE City = "Aberdeen"
Database: flight_2
Question: What are the names of airports in Aberdeen?
Paraphrased question: What are the names of aerodrome in Aberdeen?
SQL: SELECT AirportName FROM AIRPORTS WHERE City = "Aberdeen"
Database: flight_2
Question: How many flights depart from 'APG'?
Paraphrased question: How many flights depart from 'APG'?
SQL: SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  "APG"
Database: flight_2
Question: Count the number of flights departing from 'APG'.
Paraphrased question: Count the amount of flights departing from 'APG'.
SQL: SELECT count(*) FROM FLIGHTS WHERE SourceAirport  =  "APG"
Database: flight_2
Question: How many flights have destination ATO?
Paraphrased question: How many flights have terminal ATO?
SQL: SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  "ATO"
Database: flight_2
Question: Count the number of flights into ATO.
Paraphrased question: Count the number of flights into ATO.
SQL: SELECT count(*) FROM FLIGHTS WHERE DestAirport  =  "ATO"
Database: flight_2
Question: How many flights depart from City Aberdeen?
Paraphrased question: How many flights depart from City Aberdeen?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: Return the number of flights departing from Aberdeen.
Paraphrased question: Return the number of flights departing from Aberdeen.
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport  =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: How many flights arriving in Aberdeen city?
Paraphrased question: How many flights arriving in Aberdeen city?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: Return the number of flights arriving in Aberdeen.
Paraphrased question: Return the number of flights arriving in Aberdeen.
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?
Paraphrased question: How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport  =  T3.AirportCode WHERE T2.City  =  "Ashley" AND T3.City  =  "Aberdeen"
Database: flight_2
Question: How many flights fly from Aberdeen to Ashley?
Paraphrased question: How many flights fly from Aberdeen to Ashley?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport  =  T3.AirportCode WHERE T2.City  =  "Ashley" AND T3.City  =  "Aberdeen"
Database: flight_2
Question: How many flights does airline 'JetBlue Airways' have?
Paraphrased question: How many flights does airway 'JetBlue Airways' have?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = "JetBlue Airways"
Database: flight_2
Question: Give the number of Jetblue Airways flights.
Paraphrased question: Give the number of Jetblue Airways flights.
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline  =  T2.uid WHERE T2.Airline = "JetBlue Airways"
Database: flight_2
Question: How many 'United Airlines' flights go to Airport 'ASY'?
Paraphrased question: How many 'United Airlines' flights go to Airport 'ASY'?
SQL: SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  "United Airlines" AND T2.DestAirport  =  "ASY"
Database: flight_2
Question: Count the number of United Airlines flights arriving in ASY Airport.
Paraphrased question: Count the number of United Airlines flights arriving in ASY Airport.
SQL: SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  "United Airlines" AND T2.DestAirport  =  "ASY"
Database: flight_2
Question: How many 'United Airlines' flights depart from Airport 'AHD'?
Paraphrased question: How many 'United Airlines' flights leave from Airport 'AHD'?
SQL: SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  "United Airlines" AND T2.SourceAirport  =  "AHD"
Database: flight_2
Question: Return the number of United Airlines flights leaving from AHD Airport.
Paraphrased question: Return the number of United Airlines flights leaving from AHD Airport.
SQL: SELECT count(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline  =  T1.uid WHERE T1.Airline  =  "United Airlines" AND T2.SourceAirport  =  "AHD"
Database: flight_2
Question: How many United Airlines flights go to City 'Aberdeen'?
Paraphrased question: How many United Airlines flights go to City 'Aberdeen'?
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid  =  T1.Airline WHERE T2.City  =  "Aberdeen" AND T3.Airline  =  "United Airlines"
Database: flight_2
Question: Count the number of United Airlines flights that arrive in Aberdeen.
Paraphrased question: Count the number of United Airlines flights that arrive in Aberdeen.
SQL: SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport  =  T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid  =  T1.Airline WHERE T2.City  =  "Aberdeen" AND T3.Airline  =  "United Airlines"
Database: flight_2
Question: Which city has most number of arriving flights?
Paraphrased question: Which town has most number of arriving flights?
SQL: SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: Which city has the most frequent destination airport?
Paraphrased question: Which town has the most frequent terminal aerodrome?
SQL: SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: Which city has most number of departing flights?
Paraphrased question: Which town has most number of departing flights?
SQL: SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: Which city is the most frequent source airport?
Paraphrased question: Which town is the most frequent source aerodrome?
SQL: SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.SourceAirport GROUP BY T1.City ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: What is the code of airport that has the highest number of flights?
Paraphrased question: What is the code of aerodrome that has the highest number of flights?
SQL: SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport OR T1.AirportCode  =  T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: What is the airport code of the airport with the most flights?
Paraphrased question: What is the aerodrome code of the aerodrome with the most flights?
SQL: SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport OR T1.AirportCode  =  T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: What is the code of airport that has fewest number of flights?
Paraphrased question: What is the code of aerodrome that has fewest number of flights?
SQL: SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport OR T1.AirportCode  =  T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1
Database: flight_2
Question: Give the code of the airport with the least flights.
Paraphrased question: Give the code of the aerodrome with the least flights.
SQL: SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode  =  T2.DestAirport OR T1.AirportCode  =  T2.SourceAirport GROUP BY T1.AirportCode ORDER BY count(*) LIMIT 1
Database: flight_2
Question: Which airline has most number of flights?
Paraphrased question: Which airway has most number of flights?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: What airline serves the most flights?
Paraphrased question: What airway serves the most flights?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline ORDER BY count(*) DESC LIMIT 1
Database: flight_2
Question: Find the abbreviation and country of the airline that has fewest number of flights?
Paraphrased question: Find the shortened word and State of the airway that has fewest number of flights?
SQL: SELECT T1.Abbreviation ,  T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1
Database: flight_2
Question: What is the abbreviation of the airilne has the fewest flights and what country is it in?
Paraphrased question: What is the shortened word of the airway has the fewest flights and what State is it in?
SQL: SELECT T1.Abbreviation ,  T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline ORDER BY count(*) LIMIT 1
Database: flight_2
Question: What are airlines that have some flight departing from airport 'AHD'?
Paraphrased question: What are airways that have some flight departing from aerodrome 'AHD'?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "AHD"
Database: flight_2
Question: Which airlines have a flight with source airport AHD?
Paraphrased question: Which airways have a flight with source airport AHD?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "AHD"
Database: flight_2
Question: What are airlines that have flights arriving at airport 'AHD'?
Paraphrased question: What are airways that have flights arriving at airport 'AHD'?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  "AHD"
Database: flight_2
Question: Which airlines have a flight with destination airport AHD?
Paraphrased question: Which airways have a flight with terminal airport AHD?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.DestAirport  =  "AHD"
Database: flight_2
Question: Find all airlines that have flights from both airports 'APG' and 'CVO'.
Paraphrased question: Find all airways that have flights from both aerodromes 'APG' and 'CVO'.
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "APG" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "CVO"
Database: flight_2
Question: Which airlines have departing flights from both APG and CVO airports?
Paraphrased question: Which airways have departing flights from both APG and CVO aerodromes?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "APG" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "CVO"
Database: flight_2
Question: Find all airlines that have flights from airport 'CVO' but not from 'APG'.
Paraphrased question: Find all airways that have flights from airport 'CVO' but not from 'APG'.
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "CVO" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "APG"
Database: flight_2
Question: Which airlines have departures from CVO but not from APG airports?
Paraphrased question: Which airways have departures from CVO but not from APG airports?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "CVO" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "APG"
Database: flight_2
Question: Find all airlines that have at least 10 flights.
Paraphrased question: Find all airways that have at least 10 flights.
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  >  10
Database: flight_2
Question: Which airlines have at least 10 flights?
Paraphrased question: Which airways have at least 10 flights?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  >  10
Database: flight_2
Question: Find all airlines that have fewer than 200 flights.
Paraphrased question: Find all airways that have fewer than 200 flights.
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  <  200
Database: flight_2
Question: Which airlines have less than 200 flights?
Paraphrased question: Which airways have less than 200 flights?
SQL: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline GROUP BY T1.Airline HAVING count(*)  <  200
Database: flight_2
Question: What are flight numbers of Airline "United Airlines"?
Paraphrased question: What are flight codes of airway "United Airlines"?
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  "United Airlines"
Database: flight_2
Question: Which flight numbers correspond to United Airlines flights?
Paraphrased question: Which flight codes correspond to United Airlines flights?
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid  =  T1.Airline WHERE T2.Airline  =  "United Airlines"
Database: flight_2
Question: What are flight numbers of flights departing from Airport "APG"?
Paraphrased question: What are flight codes of flights departing from Airport "APG"?
SQL: SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  "APG"
Database: flight_2
Question: Give the flight numbers of flights leaving from APG.
Paraphrased question: Give the flight codes of flights leaving from APG.
SQL: SELECT FlightNo FROM FLIGHTS WHERE SourceAirport  =  "APG"
Database: flight_2
Question: What are flight numbers of flights arriving at Airport "APG"?
Paraphrased question: What are flight codes of flights arriving at Airport "APG"?
SQL: SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  "APG"
Database: flight_2
Question: Give the flight numbers of flights landing at APG.
Paraphrased question: Give the flight codes of flights landing at APG.
SQL: SELECT FlightNo FROM FLIGHTS WHERE DestAirport  =  "APG"
Database: flight_2
Question: What are flight numbers of flights departing from City "Aberdeen "?
Paraphrased question: What are flight codes of flights departing from City "Aberdeen "?
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: Give the flight numbers of flights leaving from Aberdeen.
Paraphrased question: Give the flight codes of flights leaving from Aberdeen.
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport   =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: What are flight numbers of flights arriving at City "Aberdeen"?
Paraphrased question: What are flight codes of flights arriving in City "Aberdeen"?
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: Give the flight numbers of flights arriving in Aberdeen.
Paraphrased question: Give the flight codes of flights arriving in Aberdeen.
SQL: SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport   =  T2.AirportCode WHERE T2.City  =  "Aberdeen"
Database: flight_2
Question: Find the number of flights landing in the city of Aberdeen or Abilene.
Paraphrased question: Find the code of flights landing in the city of Aberdeen or Abilene.
SQL: SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  "Aberdeen" OR T2.city  =  "Abilene"
Database: flight_2
Question: How many flights land in Aberdeen or Abilene?
Paraphrased question: How many flights land in Aberdeen or Abilene?
SQL: SELECT count(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport  =  T2.AirportCode WHERE T2.city  =  "Aberdeen" OR T2.city  =  "Abilene"
Database: flight_2
Question: Find the name of airports which do not have any flight in and out.
Paraphrased question: Find the name of aerodromes which do not have any flight in and out.
SQL: SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)
Database: flight_2
Question: Which airports do not have departing or arriving flights?
Paraphrased question: Which aerodromes do not have leaving or arriving flights?
SQL: SELECT AirportName FROM Airports WHERE AirportCode NOT IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)
Database: employee_hire_evaluation
Question: How many employees are there?
Paraphrased question: How many workers are there?
SQL: SELECT count(*) FROM employee
Database: employee_hire_evaluation
Question: Count the number of employees
Paraphrased question: Count the number of staffs
SQL: SELECT count(*) FROM employee
Database: employee_hire_evaluation
Question: Sort employee names by their age in ascending order.
Paraphrased question: Sort worker names by their age in ascending order.
SQL: SELECT name FROM employee ORDER BY age
Database: employee_hire_evaluation
Question: List the names of employees and sort in ascending order of age.
Paraphrased question: List the names of workers and sort in ascending order of age.
SQL: SELECT name FROM employee ORDER BY age
Database: employee_hire_evaluation
Question: What is the number of employees from each city?
Paraphrased question: What is the number of workers from each town?
SQL: SELECT count(*) ,  city FROM employee GROUP BY city
Database: employee_hire_evaluation
Question: Count the number of employees for each city.
Paraphrased question: Count the number of staffs for each town.
SQL: SELECT count(*) ,  city FROM employee GROUP BY city
Database: employee_hire_evaluation
Question: Which cities do more than one employee under age 30 come from?
Paraphrased question: Which towns do more than one staff under age 30 come from?
SQL: SELECT city FROM employee WHERE age  <  30 GROUP BY city HAVING count(*)  >  1
Database: employee_hire_evaluation
Question: Find the cities that have more than one employee under age 30.
Paraphrased question: Find the towns that have more than one worker under age 30.
SQL: SELECT city FROM employee WHERE age  <  30 GROUP BY city HAVING count(*)  >  1
Database: employee_hire_evaluation
Question: Find the number of shops in each location.
Paraphrased question: Find the number of shops in each city.
SQL: SELECT count(*) ,  LOCATION FROM shop GROUP BY LOCATION
Database: employee_hire_evaluation
Question: How many shops are there in each location?
Paraphrased question: How many stores are there in each city?
SQL: SELECT count(*) ,  LOCATION FROM shop GROUP BY LOCATION
Database: employee_hire_evaluation
Question: Find the manager name and district of the shop whose number of products is the largest.
Paraphrased question: Find the head name and district of the shop whose number of commodities is the largest.
SQL: SELECT manager_name ,  district FROM shop ORDER BY number_products DESC LIMIT 1
Database: employee_hire_evaluation
Question: What are the manager name and district of the shop that sells the largest number of products?
Paraphrased question: What are the director name and district of the market that sells the largest number of goods?
SQL: SELECT manager_name ,  district FROM shop ORDER BY number_products DESC LIMIT 1
Database: employee_hire_evaluation
Question: find the minimum and maximum number of products of all stores.
Paraphrased question: find the minimum and maximum number of merchandises of all stores.
SQL: SELECT min(Number_products) ,  max(Number_products) FROM shop
Database: employee_hire_evaluation
Question: What are the minimum and maximum number of products across all the shops?
Paraphrased question: What are the minimum and maximum number of goods across all the stores?
SQL: SELECT min(Number_products) ,  max(Number_products) FROM shop
Database: employee_hire_evaluation
Question: Return the name, location and district of all shops in descending order of number of products.
Paraphrased question: Return the name, city and district of all markets in descending order of number of commodities.
SQL: SELECT name ,  LOCATION ,  district FROM shop ORDER BY number_products DESC
Database: employee_hire_evaluation
Question: Sort all the shops by number products in descending order, and return the name, location and district of each shop.
Paraphrased question: Sort all the stores by number merchandises in descending order, and return the name, city and district of each store.
SQL: SELECT name ,  LOCATION ,  district FROM shop ORDER BY number_products DESC
Database: employee_hire_evaluation
Question: Find the names of stores whose number products is more than the average number of products.
Paraphrased question: Find the names of stores whose number merchandises is more than the average number of merchandises.
SQL: SELECT name FROM shop WHERE number_products  >  (SELECT avg(number_products) FROM shop)
Database: employee_hire_evaluation
Question: Which shops' number products is above the average? Give me the shop names.
Paraphrased question: Which shops' number goods is above the average? Give me the store names.
SQL: SELECT name FROM shop WHERE number_products  >  (SELECT avg(number_products) FROM shop)
Database: employee_hire_evaluation
Question: find the name of employee who was awarded the most times in the evaluation.
Paraphrased question: find the name of staff who was awarded the most times in the assessment.
SQL: SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID  =  t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1
Database: employee_hire_evaluation
Question: Which employee received the most awards in evaluations? Give me the employee name.
Paraphrased question: Which worker received the most awards in assessments? Give me the worker name.
SQL: SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID  =  t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY count(*) DESC LIMIT 1
Database: employee_hire_evaluation
Question: Find the name of the employee who got the highest one time bonus.
Paraphrased question: Find the name of the worker who got the highest one time premium.
SQL: SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID  =  t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1
Database: employee_hire_evaluation
Question: Which employee received the biggest bonus? Give me the employee name.
Paraphrased question: Which worker received the biggest extra prize? Give me the worker name.
SQL: SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID  =  t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1
Database: employee_hire_evaluation
Question: Find the names of employees who never won any award in the evaluation.
Paraphrased question: Find the names of staffs who never won any award in the assessment.
SQL: SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)
Database: employee_hire_evaluation
Question: What are the names of the employees who never received any evaluation?
Paraphrased question: What are the names of the staffs who never received any assessment?
SQL: SELECT name FROM employee WHERE Employee_ID NOT IN (SELECT Employee_ID FROM evaluation)
Database: employee_hire_evaluation
Question: What is the name of the shop that is hiring the largest number of employees?
Paraphrased question: What is the name of the store that is hiring the largest number of workers?
SQL: SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id  =  t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1
Database: employee_hire_evaluation
Question: Which shop has the most employees? Give me the shop name.
Paraphrased question: Which shop has the most workers? Give me the store name.
SQL: SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id  =  t2.shop_id GROUP BY t1.shop_id ORDER BY count(*) DESC LIMIT 1
Database: employee_hire_evaluation
Question: Find the name of the shops that do not hire any employee.
Paraphrased question: Find the name of the stores that do not hire any people.
SQL: SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)
Database: employee_hire_evaluation
Question: Which shops run with no employees? Find the shop names
Paraphrased question: Which stores run with no workers? Find the store names
SQL: SELECT name FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM hiring)
Database: employee_hire_evaluation
Question: Find the number of employees hired in each shop; show the shop name as well.
Paraphrased question: Find the number of staffs hired in each store; show the store name as well.
SQL: SELECT count(*) ,  t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id  =  t2.shop_id GROUP BY t2.name
Database: employee_hire_evaluation
Question: For each shop, return the number of employees working there and the name of the shop.
Paraphrased question: For each store, return the number of people working there and the name of the store.
SQL: SELECT count(*) ,  t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id  =  t2.shop_id GROUP BY t2.name
Database: employee_hire_evaluation
Question: What is total bonus given in all evaluations?
Paraphrased question: What is total premium given in all assessments?
SQL: SELECT sum(bonus) FROM evaluation
Database: employee_hire_evaluation
Question: Find the total amount of bonus given in all the evaluations.
Paraphrased question: Find the total amount of extra prize given in all the assessments.
SQL: SELECT sum(bonus) FROM evaluation
Database: employee_hire_evaluation
Question: Give me all the information about hiring.
Paraphrased question: Give me all the information about hiring.
SQL: SELECT * FROM hiring
Database: employee_hire_evaluation
Question: What is all the information about hiring?
Paraphrased question: What is all the information about hiring?
SQL: SELECT * FROM hiring
Database: employee_hire_evaluation
Question: Which district has both stores with less than 3000 products and stores with more than 10000 products?
Paraphrased question: Which district has both stores with less than 3000 goods and stores with more than 10000 goods?
SQL: SELECT district FROM shop WHERE Number_products  <  3000 INTERSECT SELECT district FROM shop WHERE Number_products  >  10000
Database: employee_hire_evaluation
Question: Find the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.
Paraphrased question: Find the districts in which there are both shops selling less than 3000 goods and markets selling more than 10000 goods.
SQL: SELECT district FROM shop WHERE Number_products  <  3000 INTERSECT SELECT district FROM shop WHERE Number_products  >  10000
Database: employee_hire_evaluation
Question: How many different store locations are there?
Paraphrased question: How many different store city are there?
SQL: SELECT count(DISTINCT LOCATION) FROM shop
Database: employee_hire_evaluation
Question: Count the number of distinct store locations.
Paraphrased question: Count the number of distinct store city.
SQL: SELECT count(DISTINCT LOCATION) FROM shop
Database: cre_Doc_Template_Mgt
Question: How many documents do we have?
Paraphrased question: How many papers do we have?
SQL: SELECT count(*) FROM Documents
Database: cre_Doc_Template_Mgt
Question: Count the number of documents.
Paraphrased question: Count the number of papers.
SQL: SELECT count(*) FROM Documents
Database: cre_Doc_Template_Mgt
Question: List document IDs, document names, and document descriptions for all documents.
Paraphrased question: List paper IDs, paper names, and paper descriptions for all papers.
SQL: SELECT document_id ,  document_name ,  document_description FROM Documents
Database: cre_Doc_Template_Mgt
Question: What are the ids, names, and descriptions for all documents?
Paraphrased question: What are the ids, names, and descriptions for all papers?
SQL: SELECT document_id ,  document_name ,  document_description FROM Documents
Database: cre_Doc_Template_Mgt
Question: What is the document name and template id for document with description with the letter 'w' in it?
Paraphrased question: What is the document name and layout id for document with description with the letter 'w' in it?
SQL: SELECT document_name ,  template_id FROM Documents WHERE Document_Description LIKE "%w%"
Database: cre_Doc_Template_Mgt
Question: Return the names and template ids for documents that contain the letter w in their description.
Paraphrased question: Return the names and layout ids for papers that contain the letter w in their describing content.
SQL: SELECT document_name ,  template_id FROM Documents WHERE Document_Description LIKE "%w%"
Database: cre_Doc_Template_Mgt
Question: What is the document id, template id and description for document named "Robbin CV"?
Paraphrased question: What is the paper id, layout id and describing content for paper named "Robbin CV"?
SQL: SELECT document_id ,  template_id ,  Document_Description FROM Documents WHERE document_name  =  "Robbin CV"
Database: cre_Doc_Template_Mgt
Question: Return the document id, template id, and description for the document with the name Robbin CV.
Paraphrased question: Return the paper id, layout id, and describing details for the paper with the name Robbin CV.
SQL: SELECT document_id ,  template_id ,  Document_Description FROM Documents WHERE document_name  =  "Robbin CV"
Database: cre_Doc_Template_Mgt
Question: How many different templates do all document use?
Paraphrased question: How many different layout do all document use?
SQL: SELECT count(DISTINCT template_id) FROM Documents
Database: cre_Doc_Template_Mgt
Question: Count the number of different templates used for documents.
Paraphrased question: Count the number of different layout used for text files.
SQL: SELECT count(DISTINCT template_id) FROM Documents
Database: cre_Doc_Template_Mgt
Question: How many documents are using the template with type code 'PPT'?
Paraphrased question: How many text files are using the layout with type code 'PPT'?
SQL: SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID  =  T2.Template_ID WHERE T2.Template_Type_Code  =  'PPT'
Database: cre_Doc_Template_Mgt
Question: Count the number of documents that use the PPT template type.
Paraphrased question: Count the number of text files that use the PPT template type.
SQL: SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID  =  T2.Template_ID WHERE T2.Template_Type_Code  =  'PPT'
Database: cre_Doc_Template_Mgt
Question: Show all template ids and number of documents using each template.
Paraphrased question: Show all layout ids and number of text files using each layout.
SQL: SELECT template_id ,  count(*) FROM Documents GROUP BY template_id
Database: cre_Doc_Template_Mgt
Question: What are all different template ids used for documents, and how many times were each of them used?
Paraphrased question: What are all different layout ids used for papers, and how many times were each of them used?
SQL: SELECT template_id ,  count(*) FROM Documents GROUP BY template_id
Database: cre_Doc_Template_Mgt
Question: What is the id and type code for the template used by the most documents?
Paraphrased question: What is the id and type for the layout used by the most papers?
SQL: SELECT T1.template_id ,  T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1
Database: cre_Doc_Template_Mgt
Question: Return the id and type code of the template that is used for the greatest number of documents.
Paraphrased question: Return the id and type of the layout that is used for the greatest number of papers.
SQL: SELECT T1.template_id ,  T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id  =  T2.template_id GROUP BY T1.template_id ORDER BY count(*) DESC LIMIT 1
Database: cre_Doc_Template_Mgt
Question: Show ids for all templates that are used by more than one document.
Paraphrased question: Show ids for all layouts that are used by more than one text file.
SQL: SELECT template_id FROM Documents GROUP BY template_id HAVING count(*)  >  1
Database: cre_Doc_Template_Mgt
Question: What are the template ids of any templates used in more than a single document?
Paraphrased question: What are the template ids of any templates used in more than a single paper?
SQL: SELECT template_id FROM Documents GROUP BY template_id HAVING count(*)  >  1
Database: cre_Doc_Template_Mgt
Question: Show ids for all templates not used by any document.
Paraphrased question: Show ids for all templates not used by any text file.
SQL: SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents
Database: cre_Doc_Template_Mgt
Question: What are the ids for templates that are not used in any documents?
Paraphrased question: What are the ids for layout that are not used in any papers?
SQL: SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents
Database: cre_Doc_Template_Mgt
Question: How many templates do we have?
Paraphrased question: How many layout do we have?
SQL: SELECT count(*) FROM Templates
Database: cre_Doc_Template_Mgt
Question: Count the number of templates.
Paraphrased question: Count the number of layout.
SQL: SELECT count(*) FROM Templates
Database: cre_Doc_Template_Mgt
Question: Show template ids, version numbers, and template type codes for all templates.
Paraphrased question: Show layout ids, version numbers, and layout type for all layout.
SQL: SELECT template_id ,  version_number ,  template_type_code FROM Templates
Database: cre_Doc_Template_Mgt
Question: What are the ids, version numbers, and type codes for each template?
Paraphrased question: What are the ids, edition numbers, and type name for each layout?
SQL: SELECT template_id ,  version_number ,  template_type_code FROM Templates
Database: cre_Doc_Template_Mgt
Question: Show all distinct template type codes for all templates.
Paraphrased question: Show all distinct layout type names for all layout.
SQL: SELECT DISTINCT template_type_code FROM Templates
Database: cre_Doc_Template_Mgt
Question: What are the different template type codes?
Paraphrased question: What are the different layout type names?
SQL: SELECT DISTINCT template_type_code FROM Templates
Database: cre_Doc_Template_Mgt
Question: What are the ids of templates with template type code PP or PPT?
Paraphrased question: What are the ids of layout with layout type code PP or PPT?
SQL: SELECT template_id FROM Templates WHERE template_type_code  =  "PP" OR template_type_code  =  "PPT"
Database: cre_Doc_Template_Mgt
Question: Return the ids of templates that have the code PP or PPT.
Paraphrased question: Return the ids of layout that have the code PP or PPT.
SQL: SELECT template_id FROM Templates WHERE template_type_code  =  "PP" OR template_type_code  =  "PPT"
Database: cre_Doc_Template_Mgt
Question: How many templates have template type code CV?
Paraphrased question: How many layout have template type code CV?
SQL: SELECT count(*) FROM Templates WHERE template_type_code  =  "CV"
Database: cre_Doc_Template_Mgt
Question: Count the number of templates of the type CV.
Paraphrased question: Count the number of layout of the type CV.
SQL: SELECT count(*) FROM Templates WHERE template_type_code  =  "CV"