aherntech/spider-syn huggingface dataset:
Database: concert_singer
Question: How many singers do we have?
Paraphrased question: How many vocalists do we have?
SQL: SELECT count(*) FROM singer
Database: concert_singer
Question: What is the total number of singers?
Paraphrased question: What is the total number of musicians?
SQL: SELECT count(*) FROM singer
Database: concert_singer
Question: Show name, country, age for all singers ordered by age from the oldest to the youngest.
Paraphrased question: Show name, nationality, age for all vocalists ordered by age from the oldest to the youngest.
SQL: SELECT name ,  country ,  age FROM singer ORDER BY age DESC
Database: concert_singer
Question: What are the names, countries, and ages for every singer in descending order of age?
Paraphrased question: What are the names, nationalities, and ages for every musicians in descending order of age?
SQL: SELECT name ,  country ,  age FROM singer ORDER BY age DESC
Database: concert_singer
Question: What is the average, minimum, and maximum age of all singers from France?
Paraphrased question: What is the average, minimum, and maximum age of all vocalists from France?
SQL: SELECT avg(age) ,  min(age) ,  max(age) FROM singer WHERE country  =  'France'
Database: concert_singer
Question: What is the average, minimum, and maximum age for all French singers?
Paraphrased question: What is the average, minimum, and maximum age for all French musicians?
SQL: SELECT avg(age) ,  min(age) ,  max(age) FROM singer WHERE country  =  'France'
Database: concert_singer
Question: Show the name and the release year of the song by the youngest singer.
Paraphrased question: Show the name and the publish year of the song by the youngest vocalists.
SQL: SELECT song_name ,  song_release_year FROM singer ORDER BY age LIMIT 1
Database: concert_singer
Question: What are the names and release years for all the songs of the youngest singer?
Paraphrased question: What are the names and publish years for all the songs of the youngest musicians?
SQL: SELECT song_name ,  song_release_year FROM singer ORDER BY age LIMIT 1
Database: concert_singer
Question: What are all distinct countries where singers above age 20 are from?
Paraphrased question: What are all distinct nationalities where vocalists above age 20 are from?
SQL: SELECT DISTINCT country FROM singer WHERE age  >  20
Database: concert_singer
Question: What are  the different countries with singers above age 20?
Paraphrased question: What are the different nationalities with musicians above age 20?
SQL: SELECT DISTINCT country FROM singer WHERE age  >  20
Database: concert_singer
Question: Show all countries and the number of singers in each country.
Paraphrased question: Show all State and the number of vocalists in each country.
SQL: SELECT country ,  count(*) FROM singer GROUP BY country
Database: concert_singer
Question: How many singers are from each country?
Paraphrased question: How many musicians are from each State?
SQL: SELECT country ,  count(*) FROM singer GROUP BY country
Database: concert_singer
Question: List all song names by singers above the average age.
Paraphrased question: List all music titles by vocalists above the average age.
SQL: SELECT song_name FROM singer WHERE age  >  (SELECT avg(age) FROM singer)
Database: concert_singer
Question: What are all the song names by singers who are older than average?
Paraphrased question: What are all the music titles by musicians who are older than average?
SQL: SELECT song_name FROM singer WHERE age  >  (SELECT avg(age) FROM singer)
Database: concert_singer
Question: Show location and name for all stadiums with a capacity between 5000 and 10000.
Paraphrased question: Show position and name for all stadiums with number of seats between 5000 and 10000.
SQL: SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000
Database: concert_singer
Question: What are the locations and names of all stations with capacity between 5000 and 10000?
Paraphrased question: What are the addresses and names of all stations with number of seats between 5000 and 10000?
SQL: SELECT LOCATION ,  name FROM stadium WHERE capacity BETWEEN 5000 AND 10000
Database: concert_singer
Question: What is the average and the maximum capacity of all stadiums?
Paraphrased question: What is the average and the maximum seats of all stadiums?
SQL: SELECT avg(capacity) ,  max(capacity) FROM stadium
Database: concert_singer
Question: What is the average and maximum capacities for all stations?
Paraphrased question: What is the average and maximum seats for all stations?
SQL: SELECT avg(capacity) ,  max(capacity) FROM stadium
Database: concert_singer
Question: What is the name and capacity for the stadium with highest average attendance?
Paraphrased question: What is the name and number of seats for the stadium with highest average attendance?
SQL: SELECT name ,  capacity FROM stadium ORDER BY average DESC LIMIT 1
Database: concert_singer
Question: What is the name and capacity for the stadium with the highest average attendance?
Paraphrased question: What is the name and number of seats for the stadium with the highest average attendance?
SQL: SELECT name ,  capacity FROM stadium ORDER BY average DESC LIMIT 1
Database: concert_singer
Question: How many concerts are there in year 2014 or 2015?
Paraphrased question: How many shows are there in year 2014 or 2015?
SQL: SELECT count(*) FROM concert WHERE YEAR  =  2014 OR YEAR  =  2015
Database: concert_singer
Question: How many concerts occurred in 2014 or 2015?
Paraphrased question: How many shows occurred in 2014 or 2015?
SQL: SELECT count(*) FROM concert WHERE YEAR  =  2014 OR YEAR  =  2015
Database: concert_singer
Question: Show the stadium name and the number of concerts in each stadium.
Paraphrased question: Show the stadium name and the number of shows in each stadium.
SQL: SELECT T2.name ,  count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id GROUP BY T1.stadium_id
Database: concert_singer
Question: For each stadium, how many concerts play there?
Paraphrased question: For each stadium, how many shows play there?
SQL: SELECT T2.name ,  count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id GROUP BY T1.stadium_id
Database: concert_singer
Question: Show the stadium name and capacity with most number of concerts in year 2014 or after.
Paraphrased question: Show the stadium name and number of seats with most number of shows in year 2014 or after.
SQL: SELECT T2.name ,  T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  >=  2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1
Database: concert_singer
Question: What is the name and capacity of the stadium  with the most concerts after 2013?
Paraphrased question: What is the name and number of seats of the stadium with the most shows after 2013?
SQL: SELECT T2.name ,  T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  >=  2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1
Database: concert_singer
Question: Which year has most number of concerts?
Paraphrased question: Which year has most number of shows?
SQL: SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1
Database: concert_singer
Question: What is the year that had the most concerts?
Paraphrased question: What is the time that had the most shows?
SQL: SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1
Database: concert_singer
Question: Show the stadium names without any concert.
Paraphrased question: Show the stadium names without any shows.
SQL: SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)
Database: concert_singer
Question: What are the names of the stadiums without any concerts?
Paraphrased question: What are the names of the stadiums without any shows?
SQL: SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)
Database: concert_singer
Question: Show countries where a singer above age 40 and a singer below 30 are from.
Paraphrased question: Show States where a singer above age 40 and a singer below 30 are from.
SQL: SELECT country FROM singer WHERE age  >  40 INTERSECT SELECT country FROM singer WHERE age  <  30
Database: concert_singer
Question: Show names for all stadiums except for stadiums having a concert in year 2014.
Paraphrased question: Show names for all stadiums except for stadiums having a shows in year 2014.
SQL: SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  =  2014
Database: concert_singer
Question: What are the names of all stadiums that did not have a concert in 2014?
Paraphrased question: What are the names of all stadiums that did not have a shows in 2014?
SQL: SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.year  =  2014
Database: concert_singer
Question: Show the name and theme for all concerts and the number of singers in each concert.
Paraphrased question: Show the name and theme for all shows and the number of vocalists in each shows.
SQL: SELECT T2.concert_name ,  T2.theme ,  count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id  =  T2.concert_id GROUP BY T2.concert_id
Database: concert_singer
Question: What are the names, themes, and number of singers for each and every concert?
Paraphrased question: What are the names, themes, and number of singers for each and every show?
SQL: SELECT T2.concert_name ,  T2.theme ,  count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id  =  T2.concert_id GROUP BY T2.concert_id
Database: concert_singer
Question: List singer names and number of concerts for each singer.
Paraphrased question: List singer names and number of shows for each musicians.
SQL: SELECT T2.name ,  count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id  =  T2.singer_id GROUP BY T2.singer_id
Database: concert_singer
Question: What are the names of the singers and number of concerts for each person?
Paraphrased question: What are the names of the singers and number of shows for each person?
SQL: SELECT T2.name ,  count(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id  =  T2.singer_id GROUP BY T2.singer_id
Database: concert_singer
Question: List all singer names in concerts in year 2014.
Paraphrased question: List all vocalist names in shows in year 2014.
SQL: SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id  =  T2.singer_id JOIN concert AS T3 ON T1.concert_id  =  T3.concert_id WHERE T3.year  =  2014
Database: concert_singer
Question: What are the names of the singers who performed in a concert in 2014?
Paraphrased question: What are the names of the musicians who performed in a musical performance in 2014?
SQL: SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id  =  T2.singer_id JOIN concert AS T3 ON T1.concert_id  =  T3.concert_id WHERE T3.year  =  2014
Database: concert_singer
Question: what is the name and nation of the singer who have a song having 'Hey' in its name?
Paraphrased question: what is the name and nation of the vocalist who have a song having 'Hey' in its title?
SQL: SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'
Database: concert_singer
Question: What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?
Paraphrased question: What is the name and nationality of origin of every musicians who has a song with the word 'Hey' in its title?
SQL: SELECT name ,  country FROM singer WHERE song_name LIKE '%Hey%'
Database: concert_singer
Question: Find the name and location of the stadiums which some concerts happened in the years of both 2014 and 2015.
Paraphrased question: Find the name and position of the stadiums which some musical performances happened in the years of both 2014 and 2015.
SQL: SELECT T2.name ,  T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.Year  =  2014 INTERSECT SELECT T2.name ,  T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.Year  =  2015
Database: concert_singer
Question: What are the names and locations of the stadiums that had concerts that occurred in both 2014 and 2015?
Paraphrased question: What are the names and addresses of the stadiums that had musical performances that occurred in both 2014 and 2015?
SQL: SELECT T2.name ,  T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.Year  =  2014 INTERSECT SELECT T2.name ,  T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id WHERE T1.Year  =  2015
Database: concert_singer
Question: Find the number of concerts happened in the stadium with the highest capacity.
Paraphrased question: Find the number of musical performances happened in the stadium with the highest number of seats.
SQL: SELECT count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id ORDER BY T2.Capacity DESC LIMIT 1
Database: concert_singer
Question: What are the number of concerts that occurred in the stadium with the largest capacity?
Paraphrased question: What are the number of musical performances that occurred in the stadium with the largest number of seats?
SQL: SELECT count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id  =  T2.stadium_id ORDER BY T2.Capacity DESC LIMIT 1
Database: pets_1
Question: Find the number of pets whose weight is heavier than 10.
Paraphrased question: Find the number of animals who is heavier than 10.
SQL: SELECT count(*) FROM pets WHERE weight  >  10
Database: pets_1
Question: How many pets have a greater weight than 10?
Paraphrased question: How many animals heavier than 10?
SQL: SELECT count(*) FROM pets WHERE weight  >  10
Database: pets_1
Question: Find the weight of the youngest dog.
Paraphrased question: Find the weight of the youngest puppy.
SQL: SELECT weight FROM pets ORDER BY pet_age LIMIT 1
Database: pets_1
Question: How much does the youngest dog weigh?
Paraphrased question: How much does the youngest puppy weigh?
SQL: SELECT weight FROM pets ORDER BY pet_age LIMIT 1
Database: pets_1
Question: Find the maximum weight for each type of pet. List the maximum weight and pet type.
Paraphrased question: Find the maximum weight for each category of pet. List the maximum weight and pet category.
SQL: SELECT max(weight) ,  petType FROM pets GROUP BY petType
Database: pets_1
Question: List the maximum weight and type for each type of pet.
Paraphrased question: List the maximum weight and category for each species of domestic animals.
SQL: SELECT max(weight) ,  petType FROM pets GROUP BY petType
Database: pets_1
Question: Find number of pets owned by students who are older than 20.
Paraphrased question: Find number of animals owned by students who are older than 20.
SQL: SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20
Database: pets_1
Question: How many pets are owned by students that have an age greater than 20?
Paraphrased question: How many animals are owned by students that have an age greater than 20?
SQL: SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.age  >  20
Database: pets_1
Question: Find the number of dog pets that are raised by female students (with sex F).
Paraphrased question: Find the number of puppies that are raised by female students (with gender F).
SQL: SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T2.petid  =  T3.petid WHERE T1.sex  =  'F' AND T3.pettype  =  'dog'
Database: pets_1
Question: How many dog pets are raised by female students?
Paraphrased question: How many puppies are raised by female students?
SQL: SELECT count(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T2.petid  =  T3.petid WHERE T1.sex  =  'F' AND T3.pettype  =  'dog'
Database: pets_1
Question: Find the number of distinct type of pets.
Paraphrased question: Find the number of distinct species of domestic animals.
SQL: SELECT count(DISTINCT pettype) FROM pets
Database: pets_1
Question: How many different types of pet are there?
Paraphrased question: How many different species of animals are there?
SQL: SELECT count(DISTINCT pettype) FROM pets
Database: pets_1
Question: Find the first name of students who have cat or dog pet.
Paraphrased question: Find the given name of students who have kitten or puppy pet.
SQL: SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat' OR T3.pettype  =  'dog'
Database: pets_1
Question: What are the first names of every student who has a cat or dog as a pet?
Paraphrased question: What are the given names of every student who has a kitten or puppy as a pet?
SQL: SELECT DISTINCT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat' OR T3.pettype  =  'dog'
Database: pets_1
Question: Find the name of students who have both cat and dog pets.
Paraphrased question: Find the name of students who have both kitten and puppy pets.
SQL: SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'dog'
Database: pets_1
Question: What are the students' first names who have both cats and dogs as pets?
Paraphrased question: What are the students' given names who have both kittens and puppies as pets?
SQL: SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'dog'
Database: pets_1
Question: Find the major and age of students who do not have a cat pet.
Paraphrased question: Find the major and age of students who do not have a kitten pet.
SQL: SELECT major ,  age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat')
Database: pets_1
Question: What major is every student who does not own a cat as a pet, and also how old are they?
Paraphrased question: What discipline is every student who does not own a kitten as a pet, and also how old are they?
SQL: SELECT major ,  age FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat')
Database: pets_1
Question: Find the id of students who do not have a cat pet.
Paraphrased question: Find the id of students who do not have a kitten pet.
SQL: SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat'
Database: pets_1
Question: What are the ids of the students who do not own cats as pets?
Paraphrased question: What are the ids of the students who do not own kittens as pets?
SQL: SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat'
Database: pets_1
Question: Find the first name and age of students who have a dog but do not have a cat as a pet.
Paraphrased question: Find the given name and age of students who have a puppy but do not have a cat as a pet.
SQL: SELECT T1.fname ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat')
Database: pets_1
Question: What is the first name of every student who has a dog but does not have a cat?
Paraphrased question: What is the given name of every student who has a dog but does not have a kitten?
SQL: SELECT T1.fname ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'dog' AND T1.stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pettype  =  'cat')
Database: pets_1
Question: Find the type and weight of the youngest pet.
Paraphrased question: Find the category and weight of the youngest pet.
SQL: SELECT pettype ,  weight FROM pets ORDER BY pet_age LIMIT 1
Database: pets_1
Question: What type of pet is the youngest animal, and how much does it weigh?
Paraphrased question: What species of animal is the youngest animal, and how much does it weigh?
SQL: SELECT pettype ,  weight FROM pets ORDER BY pet_age LIMIT 1
Database: pets_1
Question: Find the id and weight of all pets whose age is older than 1.
Paraphrased question: Find the id and weight of all animals whose age is older than 1.
SQL: SELECT petid ,  weight FROM pets WHERE pet_age  >  1
Database: pets_1
Question: What is the id and weight of every pet who is older than 1?
Paraphrased question: What is the id and weight of every animals who is older than 1?
SQL: SELECT petid ,  weight FROM pets WHERE pet_age  >  1
Database: pets_1
Question: Find the average and maximum age for each type of pet.
Paraphrased question: Find the average and maximum age for each species of animal.
SQL: SELECT avg(pet_age) ,  max(pet_age) ,  pettype FROM pets GROUP BY pettype
Database: pets_1
Question: What is the average and maximum age for each pet type?
Paraphrased question: What is the average and maximum age for each pet species?
SQL: SELECT avg(pet_age) ,  max(pet_age) ,  pettype FROM pets GROUP BY pettype
Database: pets_1
Question: Find the average weight for each pet type.
Paraphrased question: Find the average weight for each pet category.
SQL: SELECT avg(weight) ,  pettype FROM pets GROUP BY pettype
Database: pets_1
Question: What is the average weight for each type of pet?
Paraphrased question: What is the average weight for each species of pet?
SQL: SELECT avg(weight) ,  pettype FROM pets GROUP BY pettype
Database: pets_1
Question: Find the first name and age of students who have a pet.
Paraphrased question: Find the given name and age of students who have a pet.
SQL: SELECT DISTINCT T1.fname ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid
Database: pets_1
Question: What are the different first names and ages of the students who do have pets?
Paraphrased question: What are the different given names and ages of the students who do have pets?
SQL: SELECT DISTINCT T1.fname ,  T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid
Database: pets_1
Question: Find the id of the pet owned by student whose last name is 'Smith'.
Paraphrased question: Find the id of the animals owned by student whose family name is 'Smith'.
SQL: SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.Lname  =  'Smith'
Database: pets_1
Question: What is the id of the pet owned by the student whose last name is 'Smith'?
Paraphrased question: What is the id of the animals owned by the student whose family name is 'Smith'?
SQL: SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid WHERE T1.Lname  =  'Smith'
Database: pets_1
Question: Find the number of pets for each student who has any pet and student id.
Paraphrased question: Find the number of animals for each student who has any pet and student id.
SQL: SELECT count(*) ,  T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid
Database: pets_1
Question: For students who have pets, how many pets does each student have?
Paraphrased question: For students who have pets, how many animals does each student have?
SQL: SELECT count(*) ,  T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid
Database: pets_1
Question: Find the first name and gender of student who have more than one pet.
Paraphrased question: Find the given name and gender of student who have more than one pet.
SQL: SELECT T1.fname ,  T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid HAVING count(*)  >  1
Database: pets_1
Question: What is the first name and gender of the all the students who have more than one pet?
Paraphrased question: What is the given name and gender of the all the students who have more than one pet?
SQL: SELECT T1.fname ,  T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid HAVING count(*)  >  1
Database: pets_1
Question: Find the last name of the student who has a cat that is age 3.
Paraphrased question: Find the family name of the student who has a kitten that is age 3.
SQL: SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pet_age  =  3 AND T3.pettype  =  'cat'
Database: pets_1
Question: What is the last name of the student who has a cat that is 3 years old?
Paraphrased question: What is the family name of the student who has a kitten that is 3 years old?
SQL: SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid JOIN pets AS T3 ON T3.petid  =  T2.petid WHERE T3.pet_age  =  3 AND T3.pettype  =  'cat'
Database: pets_1
Question: Find the average age of students who do not have any pet.
Paraphrased question: Find the average age of students who do not have any pet.
SQL: SELECT avg(age) FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid)
Database: pets_1
Question: What is the average age for all students who do not own any pets?
Paraphrased question: What is the average age for all students who do not own any pets?
SQL: SELECT avg(age) FROM student WHERE stuid NOT IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid)
Database: car_1
Question: How many continents are there?
Paraphrased question: How many continents are there?
SQL: SELECT count(*) FROM CONTINENTS;
Database: car_1
Question: What is the number of continents?
Paraphrased question: What is the number of continents?
SQL: SELECT count(*) FROM CONTINENTS;
Database: car_1
Question: How many countries does each continent have? List the continent id, continent name and the number of countries.
Paraphrased question: How many States does each continent have? List the continent id, continent name and the number of nations.
SQL: SELECT T1.ContId ,  T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.Continent GROUP BY T1.ContId;
Database: car_1
Question: For each continent, list its id, name, and how many countries it has?
Paraphrased question: For each continent, list its id, name, and how many States it has?
SQL: SELECT T1.ContId ,  T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.Continent GROUP BY T1.ContId;
Database: car_1
Question: How many countries are listed?
Paraphrased question: How many States are listed?
SQL: SELECT count(*) FROM COUNTRIES;
Database: car_1
Question: How many countries exist?
Paraphrased question: How many countries exist?
SQL: SELECT count(*) FROM COUNTRIES;
Database: car_1
Question: How many models does each car maker produce? List maker full name, id and the number.
Paraphrased question: How many models does each car manufacturer produce? List manufacturer full name, id and the number.
SQL: SELECT T1.FullName ,  T1.Id ,  count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id;
Database: car_1
Question: What is the full name of each car maker, along with its id and how many models it produces?
Paraphrased question: What is the full name of each car manufacturer, along with its id and how many models it produces?
SQL: SELECT T1.FullName ,  T1.Id ,  count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id;
Database: car_1
Question: Which model of the car has the minimum horsepower?
Paraphrased question: Which model of the vehicle has the minimum horsepower?
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id ORDER BY T2.horsepower ASC LIMIT 1;
Database: car_1
Question: What is the model of the car with the smallest amount of horsepower?
Paraphrased question: What is the model of the vehicle with the smallest amount of power?
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id ORDER BY T2.horsepower ASC LIMIT 1;
Database: car_1
Question: Find the model of the car whose weight is below the average weight.
Paraphrased question: Find the model of the vehicle who is lighter than the average.
SQL: SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.Weight  <  (SELECT avg(Weight) FROM CARS_DATA)
Database: car_1
Question: What is the model for the car with a weight smaller than the average?
Paraphrased question: What is the model for the vehicle with a weight smaller than the average?
SQL: SELECT T1.model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.Weight  <  (SELECT avg(Weight) FROM CARS_DATA)
Database: car_1
Question: Find the name of the makers that produced some cars in the year of 1970?
Paraphrased question: Find the name of the manufacturer that produced some vehicles in the year of 1970?
SQL: SELECT DISTINCT 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 JOIN CARS_DATA AS T4 ON T3.MakeId  =  T4.id WHERE T4.year  =  '1970';
Database: car_1
Question: What is the name of the different car makers who produced a car in 1970?
Paraphrased question: What is the name of the different car manufacturers who produced a vehicle in 1970?
SQL: SELECT DISTINCT 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 JOIN CARS_DATA AS T4 ON T3.MakeId  =  T4.id WHERE T4.year  =  '1970';
Database: car_1
Question: Find the make and production time of the cars that were produced in the earliest year?
Paraphrased question: Find the make and production time of the vehicles that were produced in the earliest year?
SQL: SELECT T2.Make ,  T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T1.Year  =  (SELECT min(YEAR) FROM CARS_DATA);
Database: car_1
Question: What is the maker of the car produced in the earliest year and what year was it?
Paraphrased question: What is the manufacturer of the vehicle produced in the earliest year and what year was it?
SQL: SELECT T2.Make ,  T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T1.Year  =  (SELECT min(YEAR) FROM CARS_DATA);
Database: car_1
Question: Which distinct car models are the produced after 1980?
Paraphrased question: Which distinct vehicle models are the produced after 1980?
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 WHERE T3.year  >  1980;
Database: car_1
Question: What are the different models for the cards produced after 1980?
Paraphrased question: What are the different models for the vehicles produced after 1980?
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 WHERE T3.year  >  1980;
Database: car_1
Question: How many car makers are there in each continents? List the continent name and the count.
Paraphrased question: How many car manufacturers are there in each continents? List the continent name and the count.
SQL: SELECT T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.continent JOIN car_makers AS T3 ON T2.CountryId  =  T3.Country GROUP BY T1.Continent;
Database: car_1
Question: What is the name of each continent and how many car makers are there in each one?
Paraphrased question: What is the name of each continent and how many vehicle manufacturers are there in each one?
SQL: SELECT T1.Continent ,  count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId  =  T2.continent JOIN car_makers AS T3 ON T2.CountryId  =  T3.Country GROUP BY T1.Continent;
Database: car_1
Question: Which of the countries has the most car makers? List the country name.
Paraphrased question: Which of the States has the most car manufacturers? List the State name.
SQL: SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;
Database: car_1
Question: What is the name of the country with the most car makers?
Paraphrased question: What is the name of the State with the most vehicle manufacturers?
SQL: SELECT T2.CountryName FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId GROUP BY T1.Country ORDER BY Count(*) DESC LIMIT 1;
Database: car_1
Question: How many car models are produced by each maker? List the count and the maker full name.
Paraphrased question: How many vehicle models are produced by each manufacturer? List the count and the manufacturer full name.
SQL: SELECT Count(*) ,  T2.FullName  FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker  =  T2.Id GROUP BY T2.id;
Database: car_1
Question: What is the number of car models that are produced by each maker and what is the id and full name of each maker?
Paraphrased question: What is the number of vehicle models that are produced by each manufacturer and what is the id and full name of each manufacturer?
SQL: SELECT Count(*) ,  T2.FullName ,  T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker  =  T2.Id GROUP BY T2.id;
Database: car_1
Question: What is the accelerate of the car make amc hornet sportabout (sw)?
Paraphrased question: What is the accelerate of the vehicle make amc hornet sportabout (sw)?
SQL: SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Make  =  'amc hornet sportabout (sw)';
Database: car_1
Question: How much does the car accelerate that makes amc hornet sportabout (sw)?
Paraphrased question: How much does the vehicle accelerate that makes out amc hornet sportabout (sw)?
SQL: SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Make  =  'amc hornet sportabout (sw)';
Database: car_1
Question: How many car makers are there in france?
Paraphrased question: How many French car manufacturers are there?
SQL: SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'france';
Database: car_1
Question: What is the number of makers of car in France?
Paraphrased question: What is the number of manufacturers of vehicle in France?
SQL: SELECT count(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country  =  T2.CountryId WHERE T2.CountryName  =  'france';
Database: car_1
Question: How many car models are produced in the usa?
Paraphrased question: How many vehicle models are produced in the usa?
SQL: SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker  =  T2.Id JOIN COUNTRIES AS T3 ON T2.Country  =  T3.CountryId WHERE T3.CountryName  =  'usa';
Database: car_1
Question: What is the count of the car models produced in the United States?
Paraphrased question: What is the count of the vehicle models produced in the United States?
SQL: SELECT count(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker  =  T2.Id JOIN COUNTRIES AS T3 ON T2.Country  =  T3.CountryId WHERE T3.CountryName  =  'usa';
Database: car_1
Question: What is the average miles per gallon(mpg) of the cars with 4 cylinders?
Paraphrased question: What is the average miles per gallon(mpg) of the cars with 4 cylinders?
SQL: SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders  =  4;
Database: car_1
Question: What is the average miles per gallon of all the cars with 4 cylinders?
Paraphrased question: What is the average miles per gallon of all the cars with 4 cylinders?
SQL: SELECT avg(mpg) FROM CARS_DATA WHERE Cylinders  =  4;
Database: car_1
Question: What is the smallest weight of the car produced with 8 cylinders on 1974?
Paraphrased question: What is the smallest weight of the car produced with 8 cylinders on 1974?
SQL: SELECT Weight FROM CARS_DATA WHERE Cylinders  =  8 AND YEAR  =  1974 ORDER BY Weight ASC LIMIT 1;
Database: car_1
Question: What is the minimu weight of the car with 8 cylinders produced in 1974?
Paraphrased question: What is the minimu weight of the car with 8 cylinders produced in 1974?
SQL: SELECT Weight FROM CARS_DATA WHERE Cylinders  =  8 AND YEAR  =  1974 ORDER BY Weight ASC LIMIT 1;
Database: car_1
Question: What are all the makers and models?
Paraphrased question: What are all the companies and models?
SQL: SELECT Maker ,  Model FROM MODEL_LIST;
Database: car_1
Question: What are the makers and models?
Paraphrased question: What are the manufacturers and models?
SQL: SELECT Maker ,  Model FROM MODEL_LIST;
Database: car_1
Question: What are the countries having at least one car maker? List name and id.
Paraphrased question: What are the States having at least one vehicle manufacturer? List name and id.
SQL: SELECT T1.CountryName ,  T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.CountryId HAVING count(*)  >=  1;
Database: car_1
Question: What are the names and ids of all countries with at least one car maker?
Paraphrased question: What are the names and ids of all States with at least one vehicle manufacturer?
SQL: SELECT T1.CountryName ,  T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId  =  T2.Country GROUP BY T1.CountryId HAVING count(*)  >=  1;
Database: car_1
Question: What is the number of the cars with horsepower more than 150?
Paraphrased question: What is the number of the vehicle with power more than 150?
SQL: SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;
Database: car_1
Question: What is the number of cars with a horsepower greater than 150?
Paraphrased question: What is the number of vehicles with a power greater than 150?
SQL: SELECT count(*) FROM CARS_DATA WHERE horsepower  >  150;
Database: car_1
Question: What is the average weight of cars each year?
Paraphrased question: What is the average weight of vehicles each year?
SQL: SELECT avg(Weight) ,  YEAR FROM CARS_DATA GROUP BY YEAR;
Database: car_1
Question: What is the average weight and year for each year?
Paraphrased question: What is the average weight and year for each year?
SQL: SELECT avg(Weight) ,  YEAR FROM CARS_DATA GROUP BY YEAR;
Database: car_1
Question: Which countries in europe have at least 3 car manufacturers?
Paraphrased question: Which States in europe have at least 3 vehicle manufacturers?
SQL: SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent  =  T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId  =  T3.Country WHERE T2.Continent  =  'europe' GROUP BY T1.CountryName HAVING count(*)  >=  3;
Database: car_1
Question: What are the names of all European countries with at least 3 manufacturers?
Paraphrased question: What are the names of all European States with at least 3 manufacturers?
SQL: SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent  =  T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId  =  T3.Country WHERE T2.Continent  =  'europe' GROUP BY T1.CountryName HAVING count(*)  >=  3;
Database: car_1
Question: What is the maximum horsepower and the make of the car models with 3 cylinders?
Paraphrased question: What is the maximum power and the manufacturer of the vehicle models with 3 cylinders?
SQL: SELECT T2.horsepower ,  T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.cylinders  =  3 ORDER BY T2.horsepower DESC LIMIT 1;
Database: car_1
Question: What is the largest amount of horsepower for the models with 3 cylinders and what make is it?
Paraphrased question: What is the largest amount of power for the models with 3 cylinders and what manufacturer is it?
SQL: SELECT T2.horsepower ,  T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T2.cylinders  =  3 ORDER BY T2.horsepower DESC LIMIT 1;
Database: car_1
Question: Which model saves the most gasoline? That is to say, have the maximum miles per gallon.
Paraphrased question: Which model saves the most gasoline? That is to say, have the maximum miles per gallon.
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id ORDER BY T2.mpg DESC LIMIT 1;
Database: car_1
Question: What is the car model with the highest mpg?
Paraphrased question: What is the automobile model with the highest mpg?
SQL: SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id ORDER BY T2.mpg DESC LIMIT 1;
Database: car_1
Question: What is the average horsepower of the cars before 1980?
Paraphrased question: What is the average power of the automobile before 1980?
SQL: SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR  <  1980;
Database: car_1
Question: What is the average horsepower for all cars produced before 1980?
Paraphrased question: What is the average power for all automobiles produced before 1980?
SQL: SELECT avg(horsepower) FROM CARS_DATA WHERE YEAR  <  1980;
Database: car_1
Question: What is the average edispl of the cars of model volvo?
Paraphrased question: What is the average edispl of the automobile of model volvo?
SQL: SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'volvo';
Database: car_1
Question: What is the average edispl for all volvos?
Paraphrased question: What is the average edispl for all volvos?
SQL: SELECT avg(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId  =  T2.Id WHERE T1.Model  =  'volvo';
Database: car_1
Question: What is the maximum accelerate for different number of cylinders?
Paraphrased question: What is the maximum accelerate for different number of cylinders?
SQL: SELECT max(Accelerate) ,  Cylinders FROM CARS_DATA GROUP BY Cylinders;
Database: car_1
Question: What is the maximum accelerate for all the different cylinders?
Paraphrased question: What is the maximum accelerate for all the different cylinders?
SQL: SELECT max(Accelerate) ,  Cylinders FROM CARS_DATA GROUP BY Cylinders;
Database: car_1
Question: Which model has the most version(make) of cars?
Paraphrased question: Which model has the most version(make) of automobiles?
SQL: SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;
Database: car_1
Question: What model has the most different versions?
Paraphrased question: What model has the most different versions?
SQL: SELECT Model FROM CAR_NAMES GROUP BY Model ORDER BY count(*) DESC LIMIT 1;
Database: car_1
Question: How many cars have more than 4 cylinders?
Paraphrased question: How many vehicles have more than 4 cylinders?
SQL: SELECT count(*) FROM CARS_DATA WHERE Cylinders  >  4;
Database: car_1
Question: What is the number of cars with more than 4 cylinders?
Paraphrased question: What is the number of vehicles with more than 4 cylinders?
SQL: SELECT count(*) FROM CARS_DATA WHERE Cylinders  >  4;
Database: car_1
Question: how many cars were produced in 1980?
Paraphrased question: how many automobiles were produced in 1980?
SQL: SELECT count(*) FROM CARS_DATA WHERE YEAR  =  1980;
Database: car_1
Question: In 1980, how many cars were made?
Paraphrased question: In 1980, how many automobiles were made?
SQL: SELECT count(*) FROM CARS_DATA WHERE YEAR  =  1980;
Database: car_1
Question: How many car models were produced by the maker with full name American Motor Company?
Paraphrased question: How many automobile models were produced by the manufacturer with full name American Motor Company?
SQL: SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';
Database: car_1
Question: What is the number of car models created by the car maker American Motor Company?
Paraphrased question: What is the number of automobile models created by the car manufacturer American Motor Company?
SQL: SELECT count(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker WHERE T1.FullName  =  'American Motor Company';
Database: car_1
Question: Which makers designed more than 3 car models? List full name and the id.
Paraphrased question: Which manufacturers designed more than 3 vehicle models? List full name and the id.
SQL: SELECT T1.FullName ,  T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id HAVING count(*)  >  3;
Database: car_1
Question: What are the names and ids of all makers with more than 3 models?
Paraphrased question: What are the names and ids of all manufacturers with more than 3 models?
SQL: SELECT T1.FullName ,  T1.Id FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id  =  T2.Maker GROUP BY T1.Id HAVING count(*)  >  3;
Database: car_1
Question: Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500?
Paraphrased question: Which distinctive types are produced by manufacturer with the full name General Motors or weighing more than 3500?
SQL: SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model  =  T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker  =  T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId  =  T4.Id WHERE T3.FullName  =  'General Motors' OR T4.weight  >  3500;
Database: car_1
Question: What are the different models created by either the car maker General Motors or weighed more than 3500?
Paraphrased question: What are the different models created by either the car manufacturer General Motors or weighed more than 3500?
SQL: SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model  =  T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker  =  T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId  =  T4.Id WHERE T3.FullName  =  'General Motors' OR T4.weight  >  3500;
Database: car_1
Question: In which years cars were produced weighing no less than 3000 and no more than 4000?
Paraphrased question: In which years automobiles were produced weighing no less than 3000 and no more than 4000?
SQL: SELECT DISTINCT T1.Year FROM CARS_DATA AS T1 WHERE T1.Weight  >  3000 AND T1.weight  <  4000;
Database: car_1
Question: What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000?
Paraphrased question: What are the different years in which there were vehicles produced that weighed less than 4000 and also vehicles that weighted more than 3000?
SQL: SELECT DISTINCT T1.Year FROM CARS_DATA AS T1 WHERE T1.Weight  >  3000 AND T1.weight  <  4000;
Database: car_1
Question: What is the horsepower of the car with the largest accelerate?
Paraphrased question: What is the power of the automobile with the largest accelerate?
SQL: SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;
Database: car_1
Question: What is the horsepower of the car with the greatest accelerate?
Paraphrased question: What is the power of the automobile with the greatest accelerate?
SQL: SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1;
Database: car_1
Question: For model volvo, how many cylinders does the car with the least accelerate have?
Paraphrased question: For model volvo, how many cylinders does the automobile with the least accelerate have?
SQL: SELECT count(cylinders) FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Model  =  'volvo' ORDER BY T1.accelerate ASC LIMIT 1;
Database: car_1
Question: For a volvo model, how many cylinders does the version with least accelerate have?
Paraphrased question: For a volvo model, how many cylinders does the version with least accelerate have?
SQL: SELECT count(cylinders) FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id  =  T2.MakeId WHERE T2.Model  =  'volvo' ORDER BY T1.accelerate ASC LIMIT 1;
Database: car_1
Question: How many cars have a larger accelerate than the car with the largest horsepower?
Paraphrased question: How many automobiles have a larger accelerate than the automobile with the largest power?
SQL: SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate  >  ( SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1 );